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:
parent
893b8e4cef
commit
ff02fd8aca
2 changed files with 69 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue