aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js/saveLink.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/saveLink.js
parent8fd0512a3cd97d870aa3442c78bbdd034f541c7d (diff)
downloadwallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.tar.gz
wallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.tar.zst
wallabag-48fb171d7a64dbd1036f9e17cbf4c14304483817.zip
fix for #830
Diffstat (limited to 'themes/default/js/saveLink.js')
-rwxr-xr-xthemes/default/js/saveLink.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/themes/default/js/saveLink.js b/themes/default/js/saveLink.js
index 6dbce97e..b52b8a2c 100755
--- a/themes/default/js/saveLink.js
+++ b/themes/default/js/saveLink.js
@@ -13,7 +13,7 @@ $.fn.ready(function() {
13 13
14 $bagit.toggleClass("active-current"); 14 $bagit.toggleClass("active-current");
15 15
16 //only if bagiti link is not presented on page 16 //only if bag-it link is not presented on page
17 if ( $bagit.length === 0 ) { 17 if ( $bagit.length === 0 ) {
18 if ( event !== 'undefined' && event ) { 18 if ( event !== 'undefined' && event ) {
19 $bagitForm.css( {position:"absolute", top:event.pageY, left:event.pageX-200}); 19 $bagitForm.css( {position:"absolute", top:event.pageY, left:event.pageX-200});
@@ -23,6 +23,11 @@ $.fn.ready(function() {
23 } 23 }
24 } 24 }
25 25
26 if ($("#search-form").length != 0) {
27 $("#search").removeClass("current");
28 $("#search-arrow").removeClass("arrow-down");
29 $("#search-form").hide();
30 }
26 $bagitForm.toggle(); 31 $bagitForm.toggle();
27 $('#content').toggleClass("opacity03"); 32 $('#content').toggleClass("opacity03");
28 if (url !== 'undefined' && url) { 33 if (url !== 'undefined' && url) {