From 2def691f044c985eb6d7623cd1303de09287ae5c Mon Sep 17 00:00:00 2001 From: rolux Date: Fri, 17 Jan 2014 15:10:45 +0000 Subject: [PATCH] fix add annotation keyboard shortcuts in /help/editor --- static/js/helpDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/helpDialog.js b/static/js/helpDialog.js index d81b1206..6f52e7b2 100644 --- a/static/js/helpDialog.js +++ b/static/js/helpDialog.js @@ -56,7 +56,7 @@ pandora.ui.helpDialog = function() { strings = Ox.clone(pandora.site, true); strings.addAnnotationShortcuts = strings.layers.map(function(layer, index) { - return '' + index + '' + Ox._('Add {0}', [layer.item.toLowerCase()]) + ''; + return '' + (index + 1) + '' + Ox._('Add {0}', [layer.item.toLowerCase()]) + ''; }).join('\n'); strings.itemName = Ox.map(strings.itemName, function(v) { return v.toLowerCase();