mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
handle another search edge case
This commit is contained in:
parent
cee2868c24
commit
c9abf99516
@ -53,10 +53,14 @@ var siteNavigation = {
|
|||||||
$(document).unbind('click.hidethepop');
|
$(document).unbind('click.hidethepop');
|
||||||
});
|
});
|
||||||
|
|
||||||
// dont close thepop when you click on thepop
|
// dont close thepop when click on thepop
|
||||||
$searchpop.click(function(e) {
|
$searchpop.click(function(e) {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
});
|
});
|
||||||
|
// dont close thepop when click on search field
|
||||||
|
$searchfield.click(function(e) {
|
||||||
|
e.stopPropagation();
|
||||||
|
});
|
||||||
|
|
||||||
// and dont close thepop now
|
// and dont close thepop now
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
|
Loading…
Reference in New Issue
Block a user