Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"

Line 7: Line 7:
 
}
 
}
 
function init() {
 
function init() {
   $('#toc ul a').click(
+
   $('#toc ul a > .toctext').click(
 
     function(evnt){
 
     function(evnt){
 
       var ele = $(evnt.target.parentElement.attributes["href"].nodeValue)
 
       var ele = $(evnt.target.parentElement.attributes["href"].nodeValue)

Revision as of 15:23, 16 August 2015