summaryrefslogtreecommitdiffstats
path: root/public_html/data/js/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'public_html/data/js/vendor')
-rw-r--r--public_html/data/js/vendor/jquery.colorbox.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/public_html/data/js/vendor/jquery.colorbox.js b/public_html/data/js/vendor/jquery.colorbox.js
index f9b676670..4c5025370 100644
--- a/public_html/data/js/vendor/jquery.colorbox.js
+++ b/public_html/data/js/vendor/jquery.colorbox.js
@@ -526,10 +526,10 @@
publicMethod.close();
}
if (open && settings.get('arrowKey') && $related[1] && !e.altKey) {
- if (key === 37) {
+ if (key === 37 || key == 72) {
e.preventDefault();
$prev.click();
- } else if (key === 39) {
+ } else if (key === 39 || key === 76) {
e.preventDefault();
$next.click();
}