Skip to content

Commit 2e8a2c0

Browse files
authored
Merge pull request #313 from bordeo/patch-1
Clean this.$triggerNext on unbind
2 parents 97ba99a + 1b0acb8 commit 2e8a2c0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/extension/trigger.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ IASTriggerExtension.prototype.bind = function(ias) {
105105
* @param {object} ias
106106
*/
107107
IASTriggerExtension.prototype.unbind = function(ias) {
108+
this.$triggerNext = null;
109+
this.$triggerPrev = null;
108110
ias.off('next', this.showTriggerNext);
109111
ias.off('rendered', this.onRendered);
110112

0 commit comments

Comments
 (0)