1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

can't close search popup with the cross picture #613

This commit is contained in:
Nicolas Lœuillet 2014-04-08 21:58:44 +02:00
parent 5fe1948097
commit 3945335f39
4 changed files with 26 additions and 18 deletions

View file

@ -0,0 +1,20 @@
$(document).ready(function() {
$("#search-form").hide();
function closeSearch() {
$("#search-form").toggle();
$("#search").toggleClass("current");
$("#search-arrow").toggleClass("arrow-down");
}
$("#search").click(function(){
closeSearch();
});
$("#search-form-close").click(function(){
closeSearch();
});
});