Skip to content

Commit 72383f0

Browse files
committed
Button
1 parent 7dbaaf3 commit 72383f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/script_2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine
6161

6262
// ===== Scroll to Top ====
6363
$(window).scroll(function() {
64-
if (isMobile && $(this).scrollTop() >= 520) { // If mobile device and page is scrolled more than 520px.
64+
if (isMobile && $(this).scrollTop() >= 480) { // If mobile device and page is scrolled more than 520px.
6565
$('#return-to-top').fadeIn(200); // Fade in the arrow
6666
} else {
6767
$('#return-to-top').fadeOut(200); // Else fade out the arrow

0 commit comments

Comments
 (0)