diff --git a/web/script_2.js b/web/script_2.js index bae24a7..1b4a390 100644 --- a/web/script_2.js +++ b/web/script_2.js @@ -61,7 +61,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine // ===== Scroll to Top ==== $(window).scroll(function() { - if (isMobile && $(this).scrollTop() >= 590) { // If mobile device and page is scrolled more than 590px. + if (isMobile && $(this).scrollTop() >= 520) { // If mobile device and page is scrolled more than 520px. $('#return-to-top').fadeIn(200); // Fade in the arrow } else { $('#return-to-top').fadeOut(200); // Else fade out the arrow