forked from 0x2620/pandora
keyboard shortcuts end at '9'
This commit is contained in:
parent
ff5d9633ce
commit
808348e4a2
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ pandora.ui.helpDialog = function() {
|
||||||
var $html = $('<div>'),
|
var $html = $('<div>'),
|
||||||
strings = Ox.clone(pandora.site, true);
|
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>';
|
return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
|
||||||
}).join('\n');
|
}).join('\n');
|
||||||
strings.itemName = Ox.map(strings.itemName, function(v) {
|
strings.itemName = Ox.map(strings.itemName, function(v) {
|
||||||
|
|
Loading…
Reference in a new issue