Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Fixes #55 - update old removeEventListener code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Dec 10, 2014
1 parent de4064b commit 150c0bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,9 @@

detached: function() {
this.isAttached = false;
this.removeEventListener(this._boundScrollHandler);
if (this._target) {
this._target.removeEventListener('scroll', this._boundScrollHandler);
}
this.resizableDetachedHandler();
},

Expand Down

0 comments on commit 150c0bd

Please sign in to comment.