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