diff options
Diffstat (limited to 'web/src/js/utils.js')
-rw-r--r-- | web/src/js/utils.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/src/js/utils.js b/web/src/js/utils.js index b96aed0b..082f7272 100644 --- a/web/src/js/utils.js +++ b/web/src/js/utils.js @@ -90,11 +90,11 @@ var Key = { TAB: 9, SPACE: 32, BACKSPACE: 8, - J: 74, - K: 75, - H: 72, - L: 76 }; +// Add A-Z +for(var i=65; i <= 90; i++){ + Key[String.fromCharCode(i)] = i; +} var formatSize = function (bytes) { |