diff --git a/highlight-customize.user.js b/highlight-customize.user.js index 5780e7c6..ae3d29da 100644 --- a/highlight-customize.user.js +++ b/highlight-customize.user.js @@ -216,8 +216,8 @@ function mathExpr(expr, portal) { } function pathExpr(expr, portal) { - const path = expr[0]; - const obj = evaluateExpr(expr[1], portal); + const path = expr[1]; + const obj = evaluateExpr(expr[2], portal); if (typeof(obj) === 'object') return obj[path];