From 64f682fa11c68c06213bc45740c80484c669d051 Mon Sep 17 00:00:00 2001
From: s3lph <s3lph@kabelsalat.ch>
Date: Tue, 17 Dec 2024 20:17:26 +0100
Subject: [PATCH] fix: deposit js error

---
 matemat/__init__.py      | 2 +-
 static/js/depositlist.js | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/matemat/__init__.py b/matemat/__init__.py
index ec6a40c..6e85fbd 100644
--- a/matemat/__init__.py
+++ b/matemat/__init__.py
@@ -1,2 +1,2 @@
 
-__version__ = '0.4.8'
+__version__ = '0.4.9'
diff --git a/static/js/depositlist.js b/static/js/depositlist.js
index 6e463dc..637ec7d 100644
--- a/static/js/depositlist.js
+++ b/static/js/depositlist.js
@@ -81,16 +81,16 @@ deposit_key = (k) => {
     if (k == 'ok') {
 	switch (mode) {
 	    case Mode.Deposit:
-		window.location.href = '/deposit?n=' + parseInt(deposit) + append_query_string;
+		window.location.href = '/deposit?n=' + parseInt(deposit);
 		break;
 	    case Mode.Buy:
-		window.location.href = '/buy?pid=' + product_id + '&price=' + parseInt(deposit) + append_query_string;
+		window.location.href = '/buy?pid=' + product_id + '&price=' + parseInt(deposit);
 		break;
 	    case Mode.Transfer:
 		if (target_user == null) {
 		    return;
 		}
-		window.location.href = '/transfer?target=' + target_user + '&n=' + parseInt(deposit) + append_query_string;
+		window.location.href = '/transfer?target=' + target_user + '&n=' + parseInt(deposit);
 		break;
 	}
 	mode = Mode.Deposit;