summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-07-01 10:14:38 -0500
committerluxagraf <sng@luxagraf.net>2024-07-01 10:14:38 -0500
commitb1098da95a0e5be1141306dac54c63526dbe2427 (patch)
treef47cb7a1e7c1151544ffab666d5398abdda4b0dd
parent8b35816f6ce4a3f1315cff6af8a7381dac0f5ec9 (diff)
gtd: bug fix
-rw-r--r--app/gtd/templates/gtd/deal_code.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/gtd/templates/gtd/deal_code.html b/app/gtd/templates/gtd/deal_code.html
index 0b6610e..843a9d7 100644
--- a/app/gtd/templates/gtd/deal_code.html
+++ b/app/gtd/templates/gtd/deal_code.html
@@ -45,7 +45,7 @@ body {
let params = new URL(document.location).searchParams;
var price = parseFloat(params.get("price")).toFixed(2);
var sale = parseFloat(params.get("sale")).toFixed(2);
-var str = "####"+" ["+params.get("title")+" for $"+price+" ($"+sale+"off)]("+params.get("url")+")\n\n+++button-group\n\n[REI]("+params.get("url")+" \"REI\"){: target=\"_blank\"}\n\n+++";
+var str = "####"+" ["+params.get("title")+" for $"+params.get("price")+" ($"+sale+"off)]("+params.get("url")+")\n\n+++button-group\n\n[REI]("+params.get("url")+" \"REI\"){: target=\"_blank\"}\n\n+++";
function setText() {
var el = document.getElementById('link');
el.innerHTML = params.get("title") + " for $tk ($tk off)";