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