Skip to content

Commit

Permalink
add del key
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin committed Jan 10, 2025
1 parent d1b4796 commit 6e7dfbf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/views/admin/reports/explore.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,8 @@ function handle_keypressed(e) {
}
$('body').keydown(function(event){
console.log(event,event.ctrlKey,event.keyCode);
// delete
if(event.keyCode == 46) {
if((event.keyCode == 8)||(event.keyCode == 46)) {
network.deleteSelected()
}
});
Expand Down

0 comments on commit 6e7dfbf

Please sign in to comment.