Skip to content

Commit

Permalink
Dictionary was being loop through wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve0Greatness committed Sep 26, 2024
1 parent 59d279c commit a32bf71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/layoutget.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ SetOpts({
});

function SetOpts(opts) {
for ([opt, val] in opts) {
for (let opt in opts) {
let val = opts[opt];
SetOption(opt, val);
}
}
Expand Down

0 comments on commit a32bf71

Please sign in to comment.