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:
parent
49cbd82657
commit
99656a2bc3
3 changed files with 7 additions and 10 deletions
|
@ -1,10 +1,10 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
|
||||
<link rel="manifest" href="site.webmanifest">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="description" content="MMDVM-Dashboard by DG9VH">
|
||||
|
@ -67,7 +67,7 @@
|
|||
|
||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item" name="currtx">
|
||||
<a class="nav-link" id="currtx-tab" data-toggle="tab" href="#currtx" role="tab" aria-controls="currtx" aria-selected="true">Currently TXing</a>
|
||||
<a class="nav-link" id="currtx-tab" data-toggle="tab" href="#currtx" role="tab" aria-controls="currtx" aria-selected="false">Currently TXing</a>
|
||||
</li>
|
||||
<li class="nav-item" name="lastheard">
|
||||
<a class="nav-link" id="lastheard-tab" data-toggle="tab" href="#lastheard" role="tab" aria-controls="lastheard" aria-selected="false">Last Heard</a>
|
||||
|
|
|
@ -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);}
|
||||
});
|
||||
|
|
|
@ -1 +1 @@
|
|||
var dashboard_version = "2021-03-12 14:49:51";
|
||||
var dashboard_version = "2021-03-13 19:26:41";
|
||||
|
|
Loading…
Reference in a new issue