mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 01:36:14 +08:00
set last query first
This commit is contained in:
parent
b63cd56b93
commit
4f71a32bcf
@ -2992,6 +2992,7 @@ class SongSelect{
|
||||
|
||||
searchInput(e){
|
||||
var text = e.target.value.toLowerCase()
|
||||
localStorage.setItem("lastSearchQuery", text)
|
||||
|
||||
if(text.length === 0){
|
||||
this.setSearchTip()
|
||||
@ -2999,7 +3000,6 @@ class SongSelect{
|
||||
}
|
||||
|
||||
var new_results = this.performSearch(text)
|
||||
localStorage.setItem("lastSearchQuery", text)
|
||||
|
||||
if (new_results.length === 0) {
|
||||
this.setSearchTip(strings.search.noResults, true)
|
||||
|
Loading…
Reference in New Issue
Block a user