Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added intercept call to terminate existing scroll events

  • Loading branch information...
commit b82e9a598ba793ca6516d755180808e91336fb16 1 parent 610804d
@hillmark hillmark authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  extensions/anchorscroll.overthrow.js
View
1  extensions/anchorscroll.overthrow.js
@@ -4,6 +4,7 @@
if( w.overthrow && w.addEventListener ){
function scrollToElem ( elem ){
+ overthrow.intercept();
var throwParent = overthrow.closest( elem );
if( throwParent ){
overthrow.toss(
Please sign in to comment.
Something went wrong with that request. Please try again.