File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff 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 ( ) {
You can’t perform that action at this time.
0 commit comments