multiscroll.js icon indicating copy to clipboard operation
multiscroll.js copied to clipboard

Fixes bug to prevent double page scroll

Open matstc opened this issue 11 years ago • 0 comments

We had a problem where afterLoad was called twice. I believe this commit fixes a minor bug where the if expression would always be false (sectionAnchor is a string and lastScrollDestiny is a number).

After this commit, our afterLoad is only called once, as expected.

matstc avatar Oct 28 '14 11:10 matstc