keyboard shortcuts end at '9'

This commit is contained in:
rolux 2015-04-15 18:27:06 +01:00
parent ff5d9633ce
commit 808348e4a2

View file

@ -55,7 +55,7 @@ pandora.ui.helpDialog = function() {
var $html = $('<div>'),
strings = Ox.clone(pandora.site, true);
strings.addAnnotationShortcuts = strings.layers.map(function(layer, index) {
strings.addAnnotationShortcuts = strings.layers.slice(0, 9).map(function(layer, index) {
return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
}).join('\n');
strings.itemName = Ox.map(strings.itemName, function(v) {