minor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-01-03 02:59:56 +03:00
parent 2365c868fa
commit 79622eb4b1

View File

@ -561,7 +561,9 @@ var KeyboardActions = actions.Actions({
// XXX argument #3 is not yet used (see: lib/keyboard.js)... // XXX argument #3 is not yet used (see: lib/keyboard.js)...
getKeyboardModes: ['- Interface/', getKeyboardModes: ['- Interface/',
function(){ function(){
return keyboard.getApplicableModes(this.keyboard, null, this.ribbons.viewer) }], return this.__keyboard_event_source ?
keyboard.getApplicableModes(this.keyboard, null, this.__keyboard_event_source)
: [] }],
// XXX need to pre-process the docs... // XXX need to pre-process the docs...
// - remove the path component... // - remove the path component...