Permalink
Browse files

key F8 opens photo delete dialog

  • Loading branch information...
1 parent 5acd18a commit d80dd2b206250de475c99f601e56d479715615c7 @taarraas taarraas committed Feb 27, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 3.0/modules/arrow_nav/js/arrow_nav.js
@@ -5,6 +5,7 @@
direction = 'ltr',
keyPrevious = 37,
keyNext = 39,
+ keyDelete = 119,
url;
$(document).ready(function() {
@@ -58,6 +59,10 @@
case keyNext:
url = $('.g-paginator .g-text-right a').eq(0).attr("href");
break;
+
+ case keyDelete:
+ $('a.g-dialog-link.g-quick-delete').click();
+ return false;
}
if (url !== undefined) {

0 comments on commit d80dd2b

Please sign in to comment.