aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js/popupForm.js
diff options
context:
space:
mode:
authortcit <tcit@tcit.fr>2014-10-15 16:47:38 +0200
committertcit <tcit@tcit.fr>2014-10-15 16:47:38 +0200
commit48fb171d7a64dbd1036f9e17cbf4c14304483817 (patch)
tree59353e59db20c61168c0d5a19deeba9819d9966d /themes/default/js/popupForm.js
parent8fd0512a3cd97d870aa3442c78bbdd034f541c7d (diff)
downloadwallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.tar.gz
wallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.tar.zst
wallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.zip
fix for #830
Diffstat (limited to 'themes/default/js/popupForm.js')
-rw-r--r--themes/default/js/popupForm.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/default/js/popupForm.js b/themes/default/js/popupForm.js
index a32e6e70..eb6d1ae2 100644
--- a/themes/default/js/popupForm.js
+++ b/themes/default/js/popupForm.js
@@ -10,6 +10,14 @@ $(document).ready(function() {
10 10
11 $("#search").click(function(){ 11 $("#search").click(function(){
12 closeSearch(); 12 closeSearch();
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();
20 }
13 $('#searchfield').focus(); 21 $('#searchfield').focus();
14 }); 22 });
15 23