1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +01:00

handle another search edge case

This commit is contained in:
Matthias Kretschmann 2013-12-04 20:57:34 +01:00
parent cee2868c24
commit c9abf99516

View File

@ -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();