Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"
Line 34: | Line 34: | ||
$(window).on("resize", function () { | $(window).on("resize", function () { | ||
− | if($( | + | if($(".navbar-toggle").is(":visible")) { |
$("#hovertext").html("Tap on a face"); | $("#hovertext").html("Tap on a face"); | ||
$(".navsub").each(function() { | $(".navsub").each(function() { | ||
Line 119: | Line 119: | ||
// highlight curr page | // highlight curr page | ||
− | if($( | + | if(!$(".navbar-toggle").is(":visible")) { |
$("a").each(function(){ | $("a").each(function(){ | ||
hr=$(this).attr("href"); | hr=$(this).attr("href"); |
Revision as of 00:59, 4 August 2015