Difference between revisions of "Template:Team:DTU-Denmark/header.html"

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

Revision as of 10:03, 4 September 2016

New HTML template for the wiki