I'm building a responsive web page with a 3 column container that expand equally. To achieve this I'm using the following JS code:
jQuery(document).ready(function($){
var inHeight = $("#wrapper").innerHeight();
$("#wrapper .col").each(function(){
$(this).height((inHeight+60)+"px");
$(this).find('.content').height((inHeight)+"px");
});
});
DEMO: http://jsfiddle.net/VTV6B/2/
Now what I need to do is to change the JS to target mobile devices or maybe remove it to make each column behave independently.
How can I disable this code if the user is on a mobile device?