* Fix for editor that can be null if no editor is loaded.
This commit is contained in:
parent
67d75fc948
commit
72c733e829
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ exports.multiSelectCommands = [{
|
|||
bindKey: "esc",
|
||||
exec: function(editor) { editor.exitMultiSelectMode(); },
|
||||
readonly: true,
|
||||
isAvailable: function(editor) {return editor.inMultiSelectMode}
|
||||
isAvailable: function(editor) {return editor && editor.inMultiSelectMode}
|
||||
}];
|
||||
|
||||
var HashHandler = require("../keyboard/hash_handler").HashHandler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue