From b1098da95a0e5be1141306dac54c63526dbe2427 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 1 Jul 2024 10:14:38 -0500 Subject: gtd: bug fix --- app/gtd/templates/gtd/deal_code.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)"; -- cgit v1.2.3-70-g09d2