mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Protect delete_entry with a CSRF token
This commit is contained in:
parent
00d0e6f951
commit
eb8408b22f
6 changed files with 65 additions and 27 deletions
|
@ -20,7 +20,7 @@ $(document).ready(() => {
|
|||
|
||||
/* delete */
|
||||
Mousetrap.bind('del', () => {
|
||||
$('ul.side-nav a.delete i')[0].click();
|
||||
$('ul.side-nav button.delete i')[0].click();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue