From 640912b509a09c4d8a8da34b56f539a1c5cfa71e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Sun, 5 Oct 2008 12:24:43 +0000 Subject: [PATCH] fix test for undefined in :let action --- content/options.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/options.js b/content/options.js index 3f6caccc..1fcd9292 100644 --- a/content/options.js +++ b/content/options.js @@ -314,7 +314,7 @@ liberator.Options = function () //{{{ } var expr = liberator.evalExpression(matches[4]); - if (typeof expr === undefined) + if (typeof expr == "undefined") { liberator.echoerr("E15: Invalid expression: " + matches[4]); return;