MediaWiki:SupportPage.js: Difference between revisions

Content deleted Content added
move collapsible code for continents/countries here
No edit summary
Line 44:
for (var i = 0; i < toc.length; i++) {
toc[i].link.on( 'click', toc[i], smoothScroll );
}
 
// Fix if coming in with a fragment link
if ( window.location.hash ) {
window.scroll( 0, window.scrollY - scrollOffset );
}