Skip to content

Commit 14987fe

Browse files
committed
Rebuilding package
1 parent f7e0d73 commit 14987fe

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5632,6 +5632,9 @@ return /******/ (function(modules) { // webpackBootstrap
56325632
})(this));
56335633
},
56345634
updateInViewport: function(asset) {
5635+
if (!this[asset + 'ScrollMonitor']) {
5636+
return;
5637+
}
56355638
this[asset + 'InViewport'] = this[asset + 'ScrollMonitor'].isInViewport;
56365639
if (this.canRemoveScrollListeners(asset)) {
56375640
return this.removeScrollListeners(asset);
@@ -5649,7 +5652,8 @@ return /******/ (function(modules) { // webpackBootstrap
56495652
},
56505653
removeScrollListeners: function(asset) {
56515654
if (this[asset + 'ScrollMonitor']) {
5652-
return this[asset + 'ScrollMonitor'].destroy();
5655+
this[asset + 'ScrollMonitor'].destroy();
5656+
return delete this[asset + 'ScrollMonitor'];
56535657
}
56545658
},
56555659
handleWindowResize: function() {

0 commit comments

Comments
 (0)