]>
git.immae.eu Git - github/wallabag/wallabag.git/blob - themes/default/js/popupForm.js
eb6d1ae203657e17d94c6519a22c8c324ef8463c
1 $(document
).ready(function() {
3 $("#search-form").hide();
5 function closeSearch() {
6 $("#search-form").toggle();
7 $("#search").toggleClass("current");
8 $("#search-arrow").toggleClass("arrow-down");
11 $("#search").click(function(){
13 // if other popup is already shown
14 if ($("#bagit-form").length
!= 0) {
15 $("#bagit").removeClass("active-current");
16 $('#content').removeClass("opacity03");
17 $("#bagit").removeClass("current");
18 $("#bagit-arrow").removeClass("arrow-down");
19 $("#bagit-form").hide();
21 $('#searchfield').focus();
24 $("#search-form-close").click(function(){