I have the following code running and I need to make it stop if you are using a mobile device
jQuery(document).ready(function($){
var inHeight = $("#wrapper").innerHeight();
$("#wrapper .col").each(function(){
$(this).height(inHeight+"px");
$(this).find('.content').height((inHeight-60)+"px");
});
});
Can I use something like if($(window).width()<600){ /* do something */ }
If so what shall I write between the curved brackets?
Thank you!