Close search form dropdown on click on "see more results"

This commit is contained in:
Pierre HUBERT 2018-07-29 17:12:52 +02:00
parent 0692a689f1
commit f122da1306

View File

@ -41,6 +41,7 @@ ComunicWeb.components.search.form = {
footerLink.innerHTML = "See more results"; footerLink.innerHTML = "See more results";
footerLink.onclick = function(){ footerLink.onclick = function(){
openPage("search?q=" + this.getAttribute("data-searchValue")); openPage("search?q=" + this.getAttribute("data-searchValue"));
ComunicWeb.components.search.form.close();
} }
//Make input text lives //Make input text lives