summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/gtd/templates/gtd/deal_code.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/gtd/templates/gtd/deal_code.html b/app/gtd/templates/gtd/deal_code.html
index b4df7f5..085f921 100644
--- a/app/gtd/templates/gtd/deal_code.html
+++ b/app/gtd/templates/gtd/deal_code.html
@@ -42,8 +42,8 @@ body {
</textarea>
<script>
-const url = new URL(document.location);
-const params = new URLSearchParams(url.search);
+var url = new URL(document.location);
+var params = new URLSearchParams(url.search);
if params.has("sale"){
var sale = params.get("sale");
} else {