mirror of
https://github.com/Pathduck/gallery3-themes-modules.git
synced 2024-11-12 23:35:59 -05:00
arrow_nav: add KeyUp for parent
This commit is contained in:
parent
9797a6b962
commit
365b9097cd
@ -5,6 +5,7 @@
|
||||
direction = 'ltr',
|
||||
keyPrevious = 37,
|
||||
keyNext = 39,
|
||||
keyUp = 38,
|
||||
keyDelete = 119,
|
||||
url;
|
||||
|
||||
@ -60,6 +61,10 @@
|
||||
url = $('.g-paginator .g-text-right a').eq(0).attr("href");
|
||||
break;
|
||||
|
||||
case keyUp:
|
||||
url = $('.g-breadcrumbs li:nth-last-of-type(2) a').eq(0).attr("href");
|
||||
break;
|
||||
|
||||
case keyDelete:
|
||||
$('a.g-dialog-link.g-quick-delete').click();
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user