summaryrefslogtreecommitdiffstats
path: root/public_html/data/js/thumbnail-view.js
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2015-08-04 23:43:57 +0200
committerFlorian Pritz <bluewind@xinu.at>2015-08-04 23:43:57 +0200
commitf48c000aa364302bb692852fca6dee4d8dc2286f (patch)
treeb1bf5c23255aba9172d396137ead240c2ef4b26b /public_html/data/js/thumbnail-view.js
parent2bc6b97401791ae4ced15b7e8f903efd6e76e09f (diff)
Improve colorbox navigation and document it0.9.5
- Make buttons fixed so you don't have to move the mouse - Support h/l for vimperator users - Document mappings so users actually know about them Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'public_html/data/js/thumbnail-view.js')
-rw-r--r--public_html/data/js/thumbnail-view.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/public_html/data/js/thumbnail-view.js b/public_html/data/js/thumbnail-view.js
index 7bc72a556..f453f4c1c 100644
--- a/public_html/data/js/thumbnail-view.js
+++ b/public_html/data/js/thumbnail-view.js
@@ -30,6 +30,7 @@ define(['jquery', 'underscore', 'jquery.colorbox'], function ($, _) {
retinaImage: true,
maxHeight: "100%",
maxWidth: "100%",
+ title: 'Use h/l or right/left arrow keys or these buttons:',
next: '<span class="glyphicon glyphicon-chevron-right"></span>',
previous: '<span class="glyphicon glyphicon-chevron-left"></span>',
close: '<span class="glyphicon glyphicon-remove"></span>',