mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 09:54:11 +01:00
Add ;S ‘add search keyword’ hint mode.
This commit is contained in:
@@ -294,7 +294,8 @@ const Dactyl = Module("dactyl", {
|
||||
|
||||
if (!context)
|
||||
context = userContext;
|
||||
return Cu.evalInSandbox("with (window) {" + str + "}", context, "1.8", fileName, lineNumber);
|
||||
context[EVAL_STRING] = str;
|
||||
return Cu.evalInSandbox("with (window) { eval(" + EVAL_STRING + ") }", context, "1.8", fileName, lineNumber);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user