Difference between revisions of "Template:SJTU-BioX-Shanghai/Alpha/Header"
Line 21: | Line 21: | ||
var prev_a = $('#toc a.reading'); | var prev_a = $('#toc a.reading'); | ||
− | var a = $('a[ | + | var a = $('a[href="#'+ id +'"]'); |
console.log(prev_a[0], a[0]); | console.log(prev_a[0], a[0]); | ||
prev_a.removeClass('reading'); | prev_a.removeClass('reading'); |
Revision as of 02:55, 17 August 2015