i have an upload form that is fixed to the top and follows with my scrolling. Now I want to disable this function when it's viewed on a phone.
Here is my script code.
$(window).scroll(function () {
if ($(window).scrollTop() > 430 && $(window).width() > 480) {
$('#formwrap').addClass('fixed');
} else {
$('#formwrap').removeClass('fixed');
}
});