1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 13:42:27 +01:00

fix test for undefined in :let action

This commit is contained in:
Doug Kearns
2008-10-05 12:24:43 +00:00
parent 86adfc396a
commit 640912b509

View File

@@ -314,7 +314,7 @@ liberator.Options = function () //{{{
} }
var expr = liberator.evalExpression(matches[4]); var expr = liberator.evalExpression(matches[4]);
if (typeof expr === undefined) if (typeof expr == "undefined")
{ {
liberator.echoerr("E15: Invalid expression: " + matches[4]); liberator.echoerr("E15: Invalid expression: " + matches[4]);
return; return;