Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
Line 375: | Line 375: | ||
UT_Tokyo.leaveMenuEntry = function(idx) { | UT_Tokyo.leaveMenuEntry = function(idx) { | ||
- | if (idx != this.currentMenuEntry | + | if ((idx != this.currentMenuEntry) * (idx != 2)) { // using * instead of && |
$(this.menuMap[idx]).css('background-image', 'none'); | $(this.menuMap[idx]).css('background-image', 'none'); | ||
} | } |
Revision as of 18:30, 24 August 2011