mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixed version display in backend
This commit is contained in:
parent
ccbb3d3a80
commit
68a450672e
@ -22,7 +22,7 @@
|
||||
neo.xhttprequest("/apis/mlj_1/serverinfo",{},"GET",json=true).then((response)=>{
|
||||
|
||||
result = JSON.parse(response.responseText);
|
||||
thisvers = result.version.split(".");
|
||||
thisvers = result.version;
|
||||
|
||||
document.getElementById("latestversion").innerHTML = latestvers.join(".");
|
||||
document.getElementById("currentversion").innerHTML = thisvers.join(".");
|
||||
|
Loading…
Reference in New Issue
Block a user