aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xx-hint.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/x-hint.js b/x-hint.js
index a6fb519..054c8ca 100755
--- a/x-hint.js
+++ b/x-hint.js
@@ -158,10 +158,7 @@ let INFO =
'x-hint-do',
'X-Hint DO',
function (elem) {
- let context = {
- __proto__: elem,
- $: elem
- };
+ let context = {__proto__: modules.userContext, elem: elem};
try {
liberator.eval(js, context);
} catch (e) {