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 tocfragment links and anchors
var toc = [];
$('.sp-page [href^="#toc > ul a"]').each( function() {
var id = $(this).attr('href').replace('#', '');
toc.push({