EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 215: | Line 215: | ||
var screen_1680 = window.matchMedia("(min-width: 1680px)"); | var screen_1680 = window.matchMedia("(min-width: 1680px)"); | ||
var screen_1920 = window.matchMedia("(min-width: 1920px)"); | var screen_1920 = window.matchMedia("(min-width: 1920px)"); | ||
− | var position = | + | var position = 3000; |
$(window).on('beforeunload', function(){ | $(window).on('beforeunload', function(){ | ||
Line 224: | Line 224: | ||
var timeoutVar = 0; | var timeoutVar = 0; | ||
} else if(screen_1024.matches) { | } else if(screen_1024.matches) { | ||
− | position = | + | position = 3450; |
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
} else if(screen_1280.matches){ | } else if(screen_1280.matches){ |
Revision as of 16:54, 13 October 2018