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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user