summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/content/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/content/editor.js b/common/content/editor.js
index 90a146cd..307a7ac3 100644
--- a/common/content/editor.js
+++ b/common/content/editor.js
@@ -165,7 +165,7 @@ function Editor() //{{{
function (args)
{
let [lhs, rhs] = args;
- if (lhs.match(/\W/))
+ if (lhs && lhs.match(/\W/))
{
liberator.echoerr("E474: Invalid argument");
return false;