diff --git a/index.html b/index.html
index c7505c2..0e9ddf8 100755
--- a/index.html
+++ b/index.html
@@ -308,10 +308,10 @@ var KEYBOARD_CONFIG = {
showInOverlay('
Controls
'+
'NOTE: this section is a stub.
'+
'
'+
- '| C-O | Load issue from file. |
'+
- '| C-S | Save issue to file. |
'+
- '| - / + | Zoom out/in. |
'+
- '| 0 | Set default zoom level. |
'+
+ '| C-O | Load issue from file. |
'+
+ '| C-S | Save issue to file. |
'+
+ '| - / + | Zoom out/in. |
'+
+ '| 0 | Set default zoom level. |
'+
'
')
},
},
diff --git a/lib/keyboard.js b/lib/keyboard.js
index cdf48fa..13cede6 100755
--- a/lib/keyboard.js
+++ b/lib/keyboard.js
@@ -159,7 +159,7 @@ function makeKeyboardHandler(keybindings, unhandled){
var key = evt.keyCode
var chr = toKeyName(evt.keyCode)
- // XXX ugly...
+ // normalize the modifiers...
var modifers = evt.ctrlKey ? 'ctrl' : ''
modifers += evt.altKey ? (modifers != '' ? '+alt' : 'alt') : ''
modifers += evt.shiftKey ? (modifers != '' ? '+shift' : 'shift') : ''
@@ -194,7 +194,7 @@ function makeKeyboardHandler(keybindings, unhandled){
continue
}
// Array, lisp style with docs...
- // XXX for some odd reason in chrome typeof([]) == typeof({})!!!
+ // XXX for some odd reason typeof([]) == typeof({})!!!
if(typeof(handler) == typeof([]) && handler.constructor.name == 'Array'){
// we do not care about docs here, so just get the handler...
handler = handler[0]