MediaWiki:SupportPage.js: Difference between revisions

Content deleted Content added
check for currentSection being undefined (e.g. scrolling at top of page)
update scroll offset for new design
Line 32:
 
// Add smooth scrolling effect
var scrollOffset = 2460, // Offset in px
scrollDuration = 500, // in ms
smoothScroll = function(event) {