I'm required to use a website for school that scrolls the page whenever you click an inputbox. Is there a way to disable JS from scrolling the page?
I've found the section of JS that does the scrolling.
// Automatically scroll to inputs when they gain focus. Do not do this for Partner Chat, where there is only one input.
$('#activity_shell').find('input').each(function(){
if ($(this).attr('type') == 'text') {
$(this).focus(function(){ $('html, body').animate({scrollTop: ($(this).offset().top) - 200}, 200); });
}
});