From c8c3bd79aaa82095379f4dba59bf3519a9da75e1 Mon Sep 17 00:00:00 2001 From: Martin Zanoni Date: Thu, 1 Sep 2022 15:05:25 +0200 Subject: [PATCH] self review --- .../client/src/components/SuggestiveSearch.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/samples/UmbracoV9/client/src/components/SuggestiveSearch.vue b/samples/UmbracoV9/client/src/components/SuggestiveSearch.vue index 5300842..9af51ee 100644 --- a/samples/UmbracoV9/client/src/components/SuggestiveSearch.vue +++ b/samples/UmbracoV9/client/src/components/SuggestiveSearch.vue @@ -106,12 +106,12 @@ function createDebounce () { } function leaveSearch () { -// setTimeout(() => { -// term.value = '' -// result.value = null -// predictions.value = null -// document.getElementById('search-input')?.classList.toggle('active') -// }, 200) + setTimeout(() => { + term.value = '' + result.value = null + predictions.value = null + document.getElementById('search-input')?.classList.toggle('active') + }, 200) } function enterSearch () {