summaryrefslogtreecommitdiff
path: root/common/content/editor.js
diff options
context:
space:
mode:
authorTed Pavlic <ted@tedpavlic.com>2009-01-16 19:21:04 -0500
committerTed Pavlic <ted@tedpavlic.com>2009-01-16 14:25:56 -0500
commitaca074f82bcd713fe2609c9816d7d7bee38b6983 (patch)
tree622f734fe2031dd0eff000db8104bb96611287d1 /common/content/editor.js
parent704303c108c1db3b318de4e272ac9af558985e51 (diff)
downloadpentadactyl-aca074f82bcd713fe2609c9816d7d7bee38b6983.tar.gz
Fix :abbr with no argument (in future, will be less push happy).
Diffstat (limited to 'common/content/editor.js')
-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;