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:
parent
5fe1948097
commit
3945335f39
4 changed files with 26 additions and 18 deletions
20
themes/default/js/popupForm.js
Normal file
20
themes/default/js/popupForm.js
Normal 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();
|
||||
});
|
||||
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue