From f122da1306f37ff8474f8edfc87102e27360c757 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 29 Jul 2018 17:12:52 +0200 Subject: [PATCH] Close search form dropdown on click on "see more results" --- assets/js/components/search/form.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/js/components/search/form.js b/assets/js/components/search/form.js index efb3d42b..828e45cd 100644 --- a/assets/js/components/search/form.js +++ b/assets/js/components/search/form.js @@ -41,6 +41,7 @@ ComunicWeb.components.search.form = { footerLink.innerHTML = "See more results"; footerLink.onclick = function(){ openPage("search?q=" + this.getAttribute("data-searchValue")); + ComunicWeb.components.search.form.close(); } //Make input text lives