Skip to content

Commit

Permalink
Deploying to dist from @ a5a3f06 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Aug 24, 2024
1 parent 8756cfb commit 3e8af27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions highlight-customize.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3e8af27

Please sign in to comment.