Skip to content

Commit

Permalink
Don't hide dropdown during whitelist fetch.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzohrab authored and yairEO committed Jan 18, 2024
1 parent b959ed3 commit 9756cee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -224,8 +224,8 @@ function onInput( e ){
controller && controller.abort()
controller = new AbortController()

// show loading animation and hide the suggestions dropdown
tagify.loading(true).dropdown.hide()
// show loading animation.
tagify.loading(true)

fetch('http://get_suggestions.com?value=' + value, {signal:controller.signal})
.then(RES => RES.json())
Expand Down

0 comments on commit 9756cee

Please sign in to comment.