diff --git a/assets/js/autocomplete/autocomplete-list.js b/assets/js/autocomplete/autocomplete-list.js index 34cec8f6c..8d9f5cf05 100644 --- a/assets/js/autocomplete/autocomplete-list.js +++ b/assets/js/autocomplete/autocomplete-list.js @@ -147,7 +147,7 @@ export function togglePreview () { export function hidePreview () { state.previewOpen = false const suggestionList = qs(AUTOCOMPLETE_SUGGESTION_LIST_SELECTOR) - if(suggestionList) { suggestionList.classList.remove('previewing') } + if (suggestionList) { suggestionList.classList.remove('previewing') } removePreview() }