Skip to content
This repository
Browse code

added intercept call to terminate existing scroll events

  • Loading branch information...
commit b82e9a598ba793ca6516d755180808e91336fb16 1 parent 610804d
Mark Hill hillmark authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  extensions/anchorscroll.overthrow.js
1  extensions/anchorscroll.overthrow.js
@@ -4,6 +4,7 @@
4 4 if( w.overthrow && w.addEventListener ){
5 5
6 6 function scrollToElem ( elem ){
  7 + overthrow.intercept();
7 8 var throwParent = overthrow.closest( elem );
8 9 if( throwParent ){
9 10 overthrow.toss(

0 comments on commit b82e9a5

Please sign in to comment.
Something went wrong with that request. Please try again.