aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/js/saveLink.js
diff options
context:
space:
mode:
authorJay Sitter <jsitter@gmail.com>2014-11-02 11:15:36 -0500
committerJay Sitter <jsitter@gmail.com>2014-11-02 11:19:21 -0500
commitff02fd8aca56a63e8caf3b9f87de8a677dd419e9 (patch)
treed7cc40e75067399d68a65a3e98ee0a026225f50f /themes/default/js/saveLink.js
parent893b8e4cefae8b7b7600ab8322250cdb5d10cedd (diff)
downloadwallabag-ff02fd8aca56a63e8caf3b9f87de8a677dd419e9.tar.gz
wallabag-ff02fd8aca56a63e8caf3b9f87de8a677dd419e9.tar.zst
wallabag-ff02fd8aca56a63e8caf3b9f87de8a677dd419e9.zip
Improving JavaScript for popup forms
Diffstat (limited to 'themes/default/js/saveLink.js')
-rwxr-xr-xthemes/default/js/saveLink.js27
1 files changed, 15 insertions, 12 deletions
diff --git a/themes/default/js/saveLink.js b/themes/default/js/saveLink.js
index b52b8a2c..a7acd84c 100755
--- a/themes/default/js/saveLink.js
+++ b/themes/default/js/saveLink.js
@@ -36,18 +36,21 @@ $.fn.ready(function() {
36 $('#plainurl').focus(); 36 $('#plainurl').focus();
37 } 37 }
38 38
39 39 //---------------------------------------------------------------------------
40 $bagit.click(function(){ 40 // These two functions are now taken care of in popupForm.js
41 $bagit.toggleClass("current"); 41 //---------------------------------------------------------------------------
42 $("#bagit-arrow").toggleClass("arrow-down"); 42
43 toggleSaveLinkForm(); 43 // $bagit.click(function(){
44 }); 44 // $bagit.toggleClass("current");
45 45 // $("#bagit-arrow").toggleClass("arrow-down");
46 $("#bagit-form-close").click(function(){ 46 // toggleSaveLinkForm();
47 $bagit.removeClass("current"); 47 // });
48 $("#bagit-arrow").removeClass("arrow-down"); 48
49 toggleSaveLinkForm(); 49 // $("#bagit-form-close").click(function(){
50 }); 50 // $bagit.removeClass("current");
51 // $("#bagit-arrow").removeClass("arrow-down");
52 // toggleSaveLinkForm();
53 // });
51 54
52 55
53 //send "bag it link" form request via ajax 56 //send "bag it link" form request via ajax