Line 418: | Line 418: | ||
return; | return; | ||
} | } | ||
− | } | + | } |
+ | |||
+ | if($(window).width() > 900){ | ||
+ | $("#scrollspy").css("display","block") | ||
+ | } | ||
}); | }); | ||
Line 433: | Line 437: | ||
$("#a-down").click(function(){ | $("#a-down").click(function(){ | ||
− | |||
if (!flag) { | if (!flag) { | ||
// prevents multiple clicks | // prevents multiple clicks | ||
flag = true; | flag = true; | ||
setTimeout(function(){ flag = false; }, 100); | setTimeout(function(){ flag = false; }, 100); | ||
− | + | ||
if (scrole_open){ | if (scrole_open){ | ||
$("#scrollspy").css("display","none") | $("#scrollspy").css("display","none") | ||
scrole_open = false | scrole_open = false | ||
− | |||
} else{ | } else{ | ||
$("#scrollspy").css("display","block") | $("#scrollspy").css("display","block") |
Revision as of 12:02, 7 September 2016