client/search: fix dangling 'no data to show'
Concerned only endless scroll
This commit is contained in:
parent
ad87506044
commit
19eea226a6
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue