diff options
author | luxagraf <sng@luxagraf.net> | 2024-07-02 09:18:10 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-07-02 09:18:10 -0500 |
commit | 6f42bd349b89b7fd34266ea4cddb4017995fe862 (patch) | |
tree | a9546c5be2b4175ea074d306f1ee889b0cc8377f | |
parent | c028011628c684c4f2f51637ff80b2e7f609df6a (diff) |
gtd: fixing js bugs
-rw-r--r-- | app/gtd/templates/gtd/deal_code.html | 4 |
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 { |