Skip to content

Commit

Permalink
Format "-25%" instead of "25% off"
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed May 14, 2020
1 parent 359fdbb commit 52bb0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async function retrieveSteamAppTitle() {
}
text += `${appData.title} `;
let priceTag = appData.percentOff
? `(${appData.price} / ${appData.percentOff} off)`
? `(${appData.price} / -${appData.percentOff})`
: `(${appData.price})`;
text += `${priceTag}`;

Expand Down

0 comments on commit 52bb0f0

Please sign in to comment.