|
|
@ -30,7 +30,7 @@ export class HUDWatermark extends BaseHUDPart {
|
|
|
|
globalConfig.currentDiscount > 0 ? ["withDiscount"] : [],
|
|
|
|
globalConfig.currentDiscount > 0 ? ["withDiscount"] : [],
|
|
|
|
linkText +
|
|
|
|
linkText +
|
|
|
|
(globalConfig.currentDiscount > 0
|
|
|
|
(globalConfig.currentDiscount > 0
|
|
|
|
? `<span class='discount'>${globalConfig.currentDiscount}% off!</span>`
|
|
|
|
? `<span class='discount'>-${globalConfig.currentDiscount}%!</span>`
|
|
|
|
: "")
|
|
|
|
: "")
|
|
|
|
);
|
|
|
|
);
|
|
|
|
this.trackClicks(this.linkElement, () => {
|
|
|
|
this.trackClicks(this.linkElement, () => {
|
|
|
|