Fix index search going badly when inputing only spaces.
This commit is contained in:
parent
ba0830e828
commit
0e10e3fd81
@ -393,6 +393,7 @@ Index =
|
|||||||
else
|
else
|
||||||
pageNum = Index.getCurrentPage()
|
pageNum = Index.getCurrentPage()
|
||||||
else
|
else
|
||||||
|
return unless Index.searchInput.dataset.searching
|
||||||
pageNum = Index.pageBeforeSearch
|
pageNum = Index.pageBeforeSearch
|
||||||
delete Index.pageBeforeSearch
|
delete Index.pageBeforeSearch
|
||||||
<% if (type === 'userscript') { %>
|
<% if (type === 'userscript') { %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user