Difference between revisions of "Template:Freiburg/MenubarTest"
Line 452: | Line 452: | ||
function beecode() { | function beecode() { | ||
var windowWidth ) $(window).width(); | var windowWidth ) $(window).width(); | ||
− | if (windowWidth | + | if (windowWidth > 850) { |
+ | console.log('if'); | ||
// make submenus appear // | // make submenus appear // | ||
$("#home").hover(function(){ | $("#home").hover(function(){ | ||
Line 555: | Line 556: | ||
} // closes if-statement | } // closes if-statement | ||
else { | else { | ||
− | + | console.log('else'); | |
} // closes else-statement | } // closes else-statement | ||
} // closes beecode | } // closes beecode |
Revision as of 09:12, 16 September 2015