Commit f5bf5b6
committed
Fix alert item name to use floatData.fullItemName like watchlist
ISSUE:
- Alerts showing 'CS2 Item' instead of actual item name
- Selector '.market_listing_largeimage .market_listing_item_name' not finding element
FIX:
1. showPriceAlertDialog now tries:
- floatData.fullItemName (same as watchlist)
- floatData.skinName
- DOM selectors as fallback
- document.title as final fallback
2. Quick alert path also improved with better selectors
Now matches watchlist implementation which successfully gets:
'AK-47 | Legion of Anubis (Field-Tested)'1 parent b283c77 commit f5bf5b6
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1353 | 1353 | | |
1354 | 1354 | | |
1355 | 1355 | | |
1356 | | - | |
1357 | | - | |
1358 | | - | |
1359 | | - | |
1360 | | - | |
| 1356 | + | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1361 | 1364 | | |
1362 | 1365 | | |
1363 | 1366 | | |
| |||
1596 | 1599 | | |
1597 | 1600 | | |
1598 | 1601 | | |
1599 | | - | |
1600 | | - | |
1601 | | - | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
1602 | 1610 | | |
1603 | 1611 | | |
1604 | 1612 | | |
| |||
0 commit comments