Im wondering how to disable this jquery event on mobile resolutions
$(window).scroll(function(e){
parallax();
});
function parallax(){
var scrolled = $(window).scrollTop();
$('.hero_image').css('top',-(scrolled*0.6)+'px');
}
I've tried a few different things from other posts on this subject but nothing seems to be doing the trick.