forked from wallabag/wallabag
Protect delete_entry with a CSRF token
This commit is contained in:
@ -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();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user