forked from Automattic/antiscroll
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed some performance and cleanup issues
Set this.horizontal and this.vertical properties to null when destroyed and unbound scroll and mousewheel event listeners tied to the scrollbar when it is destroyed.
- Loading branch information
1 parent
6e96266
commit e745c0a
Showing
1 changed file
with
15 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters