From 8409cd7b7587f64ba429fb9883701a14628c4192 Mon Sep 17 00:00:00 2001 From: Redume Date: Sun, 25 Sep 2022 11:05:57 +0300 Subject: [PATCH] added delete "v" in version --- web/static/scripts/version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/static/scripts/version.js b/web/static/scripts/version.js index 83d88b1..fc8dd99 100644 --- a/web/static/scripts/version.js +++ b/web/static/scripts/version.js @@ -2,6 +2,6 @@ $.ajax({ url: "http://localhost:8080/api/get/version", type: "GET", success: function(data){ - $("#program-version").text(data.message); + $("#program-version").text(data.message.replace("v", "")); } }) \ No newline at end of file