Skip to content

Commit

Permalink
Use label in Trade Item Values "Hide Item Values".
Browse files Browse the repository at this point in the history
  • Loading branch information
Sashank999 committed Feb 17, 2024
1 parent f911adb commit 31dd1b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extension/scripts/features/trade-values/ttTradeValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@
}
});
const wrap = document.newElement({
type: "div",
type: "label",
class: "tt-hide-values",
children: [document.newElement({ type: "span", text: "Hide item values" }), checkbox],
text: "Hide item values",
children: [checkbox],
});

side.find(".title-black").appendChild(wrap);
Expand Down

0 comments on commit 31dd1b9

Please sign in to comment.