Removing trailing / on paths...

On some passages I used a trailing / producing problems, if you put the html-parts on a webserve within a subdirectory or something like that...
This commit is contained in:
Kim Huebel 2021-03-13 19:26:41 +00:00
parent 49cbd82657
commit 99656a2bc3
3 changed files with 7 additions and 10 deletions

View file

@ -31,7 +31,6 @@ function logIt(message) {
function checkConfigStructure() {
if (typeof config_struc_ver === "undefined" || config_struc_ver < act_config_struc_ver) {
//alert("Old!");
$('#configstructmodal').modal('show');
}
}
@ -872,15 +871,13 @@ $(document).ready(function() {
activateDefaultTab(tabname);
defaultSet = true;
}
if (!defaultSet)
activateDefaultTab("lastheard");
}
});
$(document).ready(function() {
$.ajax({
type: "GET",
url: window.location.protocol + '/data/TG_List.csv',
url: window.location.protocol + 'data/TG_List.csv',
dataType: "text",
success: function(data) {processData(data);}
});

View file

@ -1 +1 @@
var dashboard_version = "2021-03-12 14:49:51";
var dashboard_version = "2021-03-13 19:26:41";