Removed 220px icon
This commit is contained in:
@ -67,14 +67,6 @@ export async function search(arn: AnimeNotifier, search: HTMLInputElement, e: Ke
|
||||
// Unmount mountables to improve visual responsiveness on key press
|
||||
arn.unmountMountables()
|
||||
|
||||
// Delay
|
||||
await delay(searchDelay)
|
||||
|
||||
if(term !== search.value.trim()) {
|
||||
arn.mountMountables()
|
||||
return
|
||||
}
|
||||
|
||||
// Show loading spinner
|
||||
arn.loading(true)
|
||||
|
||||
@ -99,6 +91,14 @@ export async function search(arn: AnimeNotifier, search: HTMLInputElement, e: Ke
|
||||
history.replaceState(url, document.title, url)
|
||||
}
|
||||
|
||||
// Delay
|
||||
await delay(searchDelay)
|
||||
|
||||
if(term !== search.value.trim()) {
|
||||
arn.mountMountables()
|
||||
return
|
||||
}
|
||||
|
||||
if(!animeSearchResults) {
|
||||
animeSearchResults = document.getElementById("anime-search-results")
|
||||
characterSearchResults = document.getElementById("character-search-results")
|
||||
|
Reference in New Issue
Block a user