Skip to content

Commit

Permalink
remove the inview listener properly, fixes adaptlearning/adapt_framew…
Browse files Browse the repository at this point in the history
  • Loading branch information
moloko authored and tomgreenfield committed Nov 24, 2017
1 parent 36b27dc commit c299342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/adapt-contrib-hotgraphic.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ define(function(require) {
}

if (this._isVisibleTop && this._isVisibleBottom) {
this.$('.component-inner').off('inview');
this.$('.component-widget').off('inview');
this.setCompletionStatus();
}
}
Expand Down

0 comments on commit c299342

Please sign in to comment.