EstebanDLPT (Talk | contribs) m |
EstebanDLPT (Talk | contribs) m |
||
Line 211: | Line 211: | ||
//jQuery(document).ready(function($) { | //jQuery(document).ready(function($) { | ||
− | + | var smallscreen = window.matchMedia("(max-width: 900px)"); | |
+ | |||
+ | if(smallscreen.matches) { | ||
var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | var timeoutVar = setTimeout(function(){$(window).scrollTop(0);},8000); | ||
+ | } else { | ||
+ | var timeoutVar = 0; | ||
+ | } | ||
function slideVideo() { | function slideVideo() { |
Revision as of 23:20, 12 October 2018