mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/search: fix dangling 'no data to show'
Concerned only endless scroll
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user