diff --git a/client/js/views/endless_page_view.js b/client/js/views/endless_page_view.js index 736fa5e5..27280474 100644 --- a/client/js/views/endless_page_view.js +++ b/client/js/views/endless_page_view.js @@ -36,6 +36,12 @@ class EndlessPageView { } }); this._probePageLoad(ctx); + + views.monitorNodeRemoval(this._pagesHolderNode, () => this._destroy()); + } + + _destroy() { + this._active = false; } _probePageLoad(ctx) {