Line 469: | Line 469: | ||
− | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); | + | $("#team_name").html( wgPageName.substring( 5 , wgPageName.indexOf("/") ) ); // this adds the team's name as an h1 |
+ | |||
+ | |||
+ | $("#page_name").html ( wgPageName.substring( wgPageName.indexOf("/"), wgPageName.length ) ); | ||
Revision as of 18:38, 13 April 2016