Skip to content

Commit 614be1a

Browse files
$1 items in the bazaar that you can't buy are excluded from highlighting (#838)
- Just filters them out from highlighting when subvendor highlighting is on
1 parent 9864589 commit 614be1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extension/scripts/features/bazaar-sub-vendor-items/ttSubVendorPriceItems.entry.js

+2
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@
3434

3535
function highlightEverything() {
3636
const items = [...document.findAll("[class*='item__'] > [class*='itemDescription__']")]
37+
// filter out $1 items that you can't buy
38+
.filter((element) => !element.find("[class*='isBlockedForBuying___'"))
3739
.map((element) => {
3840
return {
3941
element,

0 commit comments

Comments
 (0)