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