aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--localkeymode.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/localkeymode.js b/localkeymode.js
index 55a7b66..cf9bf7c 100644
--- a/localkeymode.js
+++ b/localkeymode.js
@@ -163,7 +163,7 @@ liberator.plugins.LocalKeyMode = (function() {
if (typeof command != 'function'){
let cmdName = command;
if (command.charAt(0) == ':')
- command = extra.noremap ? function () commandline.open("", cmdName, modex.EX)
+ command = extra.noremap ? function () commandline.open("", cmdName, modes.EX)
: function () liberator.execute(cmdName);
else
command = function () feedKeys( command, extra.noremap, true);