summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2024-07-01 10:23:46 -0500
committerluxagraf <sng@luxagraf.net>2024-07-01 10:23:46 -0500
commit9964a8ac4c9c3036f4f0aa4a3b02fd1093a7730a (patch)
tree501242330cc5d704f859e37f78cfb6b98453b302
parente861221b83452a6a1648ff4a45d91f5fe286f023 (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 6ab79e9..57f8239 100644
--- a/app/gtd/templates/gtd/deal_code.html
+++ b/app/gtd/templates/gtd/deal_code.html
@@ -43,7 +43,7 @@ body {
</textarea>
<script>
let params = new URL(document.location).searchParams;
-var str = "####"+" ["+params.get("title")+" for"+params.get("sale")+" ($"+params.get("price")+" 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("sale")+" ("+params.get("price").substring(1)+" 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)";