Fix DOM token error in watermark

pull/1423/head
tobspr 2 years ago
parent 75d3a13688
commit 57678664d4

@ -25,7 +25,7 @@ export class HUDWatermark extends BaseHUDPart {
this.linkElement = makeDiv(
parent,
"ingame_HUD_WatermarkClicker",
globalConfig.currentDiscount.active ? ["withDiscount"] : [""],
globalConfig.currentDiscount.active ? ["withDiscount"] : [],
T.ingame.watermark.get_on_steam +
(globalConfig.currentDiscount.active
? `<span class='discount'>${globalConfig.currentDiscount.amount}% off!</span>`

Loading…
Cancel
Save