Line 420: | Line 420: | ||
} | } | ||
}); | }); | ||
+ | |||
+ | // Remove button for scroll menue if irelevant. | ||
+ | document.ready( | ||
+ | var scrollbar = document.getElementById("scrollspy") | ||
+ | if(scrollbar = "null"){ | ||
+ | console.log(scrollbar) | ||
+ | $(".mobile-scrole").css("display","none") | ||
+ | } | ||
+ | ) | ||
if ( $(window).width() > 650 ){ | if ( $(window).width() > 650 ){ |
Revision as of 09:37, 4 September 2016