diff options
author | Ted Pavlic <ted@tedpavlic.com> | 2009-01-16 19:21:04 -0500 |
---|---|---|
committer | Ted Pavlic <ted@tedpavlic.com> | 2009-01-16 14:25:56 -0500 |
commit | aca074f82bcd713fe2609c9816d7d7bee38b6983 (patch) | |
tree | 622f734fe2031dd0eff000db8104bb96611287d1 /common/content/editor.js | |
parent | 704303c108c1db3b318de4e272ac9af558985e51 (diff) | |
download | pentadactyl-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.js | 2 |
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; |