Team:UT-Tokyo/Templates/BeginContent
From 2011.igem.org
(Difference between revisions)
Line 381: | Line 381: | ||
UT_Tokyo.initMenu = function(fullPageName) { | UT_Tokyo.initMenu = function(fullPageName) { | ||
- | fullPageName | + | fullPageName.replace(/^\s*(.*?)\s*$/, "$1"); |
var idx = this.menuIndexFromFullPageName(fullPageName); | var idx = this.menuIndexFromFullPageName(fullPageName); | ||
this.selectMenuEntry(idx); | this.selectMenuEntry(idx); |
Revision as of 18:38, 24 August 2011