mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 11:47:58 +01:00
Work around new problems introduced by recent JägerMonkey changes. Closes issue #95.
This commit is contained in:
@@ -298,7 +298,7 @@ const Dactyl = Module("dactyl", {
|
||||
if (!context)
|
||||
context = userContext;
|
||||
context[EVAL_STRING] = str;
|
||||
return Cu.evalInSandbox("with (window) { eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber);
|
||||
return Cu.evalInSandbox("with (window) { this.eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user