MediaWiki:SupportPage.js: Difference between revisions
Content deleted Content added
remove old language bar code |
Do smoothScroll on all fragment links, not just toc ones. Should really find a better way to do this though |
||
Line 47:
/* -- table of contents code -- */
// Build a list of corresponding
var toc = [];
$('.sp-page [href^="#
var id = $(this).attr('href').replace('#', '');
toc.push({
|