From c9abf9951605958ae7c7ee78a11a689bf58552cb Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 4 Dec 2013 20:57:34 +0100 Subject: [PATCH] handle another search edge case --- _src/assets/js/app.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/_src/assets/js/app.js b/_src/assets/js/app.js index 8b7c5925..67600059 100644 --- a/_src/assets/js/app.js +++ b/_src/assets/js/app.js @@ -53,10 +53,14 @@ var siteNavigation = { $(document).unbind('click.hidethepop'); }); - // dont close thepop when you click on thepop + // dont close thepop when click on thepop $searchpop.click(function(e) { e.stopPropagation(); }); + // dont close thepop when click on search field + $searchfield.click(function(e) { + e.stopPropagation(); + }); // and dont close thepop now e.stopPropagation();