1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-12 16:58:37 +00:00

Improving JavaScript for popup forms

This commit is contained in:
Jay Sitter 2014-11-02 11:15:36 -05:00
parent 893b8e4cef
commit ff02fd8aca
2 changed files with 69 additions and 23 deletions

View file

@ -36,18 +36,21 @@ $.fn.ready(function() {
$('#plainurl').focus();
}
//---------------------------------------------------------------------------
// These two functions are now taken care of in popupForm.js
//---------------------------------------------------------------------------
$bagit.click(function(){
$bagit.toggleClass("current");
$("#bagit-arrow").toggleClass("arrow-down");
toggleSaveLinkForm();
});
// $bagit.click(function(){
// $bagit.toggleClass("current");
// $("#bagit-arrow").toggleClass("arrow-down");
// toggleSaveLinkForm();
// });
$("#bagit-form-close").click(function(){
$bagit.removeClass("current");
$("#bagit-arrow").removeClass("arrow-down");
toggleSaveLinkForm();
});
// $("#bagit-form-close").click(function(){
// $bagit.removeClass("current");
// $("#bagit-arrow").removeClass("arrow-down");
// toggleSaveLinkForm();
// });
//send "bag it link" form request via ajax