Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed #203 by making sure scrollToTop was always called and increasing
TOP_SCROLL_TIMEOUT. setTimeout(scrollToTop, TOP_SCROLL_TIMEOUT, event); was present in an if statement so it was not always getting called and when it was getting called, it didn't have enough time to scroll to the top, so to fix this - 1) the setTimeout was moved out of the if statement and 2) TOP_SCROLL_TIMEOUT was increased to 20ms.
- Loading branch information