X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/83d77d516665c41ca445a93119dfd97311bfb498..refs/pull/3391/head:/resources/js/components/dropdown-search.js diff --git a/resources/js/components/dropdown-search.js b/resources/js/components/dropdown-search.js index 8c81aae3c..e2d55f969 100644 --- a/resources/js/components/dropdown-search.js +++ b/resources/js/components/dropdown-search.js @@ -27,6 +27,7 @@ class DropdownSearch { this.runLocalSearch(input); } else { this.toggleLoading(true); + this.listContainerElem.innerHTML = ''; this.runAjaxSearch(input); } }