summaryrefslogtreecommitdiff
path: root/app/gtd
diff options
context:
space:
mode:
Diffstat (limited to 'app/gtd')
-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 085f921..a54a1ed 100644
--- a/app/gtd/templates/gtd/deal_code.html
+++ b/app/gtd/templates/gtd/deal_code.html
@@ -44,12 +44,12 @@ body {
<script>
var url = new URL(document.location);
var params = new URLSearchParams(url.search);
-if params.has("sale"){
+if(params.has("sale")){
var sale = params.get("sale");
} else {
var sale = "tk";
}
-if params.has("price"){
+if(params.has("price")){
var price = params.get("price").substring(1);
} else {
var price = "tk";