remember last query until refresh

This commit is contained in:
Bui
2022-02-26 00:47:09 +00:00
parent d85d48bc1f
commit 1ef724c4c1
2 changed files with 11 additions and 0 deletions

View File

@@ -258,6 +258,10 @@ class Loader{
db = new IDB("taiko", "store")
plugins = new Plugins()
if(localStorage.getItem("lastSearchQuery")){
localStorage.removeItem("lastSearchQuery")
}
Promise.all(this.promises).then(() => {
if(this.error){
return