diff --git a/README.md b/README.md index 4c07aa13..75e63996 100644 --- a/README.md +++ b/README.md @@ -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())