From 7dbaaf31055d712590bc267c13a6ea767bc5027f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 16 Apr 2019 21:34:52 +0200 Subject: [PATCH] Button --- web/script_2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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