mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 04:22:31 +02:00
Fix some dactyl.userEval magic now that it works again.
This commit is contained in:
1 parent
64694a6327
commit
c96375d7ee
1 file changed
+1
-1
@@ -298,7 +298,7 @@ const Dactyl = Module("dactyl", {
|
|||||||
if (!context)
|
if (!context)
|
||||||
context = userContext;
|
context = userContext;
|
||||||
context[EVAL_STRING] = str;
|
context[EVAL_STRING] = str;
|
||||||
return Cu.evalInSandbox("eval('with (window) {'+" + EVAL_STRING + "+'}')", context, "1.8", fileName, lineNumber);
|
return Cu.evalInSandbox("with (window) { eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber);
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in new issue
Block a user