diff --git a/client/js/views/endless_page_view.js b/client/js/views/endless_page_view.js index 6e6787f..c9a63b4 100644 --- a/client/js/views/endless_page_view.js +++ b/client/js/views/endless_page_view.js @@ -17,6 +17,7 @@ class EndlessPageView { this._working = 0; this._init = false; + this.clearMessages(); views.emptyContent(this._pagesHolderNode); this.threshold = window.innerHeight / 3; @@ -165,6 +166,10 @@ class EndlessPageView { return pageNode; } + clearMessages() { + views.clearMessages(this._hostNode); + } + showSuccess(message) { views.showSuccess(this._hostNode, message); }