EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 212: | Line 212: | ||
var bigscreen = window.matchMedia("(min-width: 2000px)"); | var bigscreen = window.matchMedia("(min-width: 2000px)"); | ||
var position = 3000; | var position = 3000; | ||
− | + | window.alert(bigscreen.matches); | |
$(window).on('beforeunload', function(){ | $(window).on('beforeunload', function(){ | ||
$(window).scrollTop(0); | $(window).scrollTop(0); |
Revision as of 23:42, 12 October 2018