diff --git a/index.html b/index.html index ef8c4fc..687d9d6 100644 --- a/index.html +++ b/index.html @@ -374,6 +374,7 @@ --> + @@ -527,6 +528,12 @@ }); peerListEl.innerHTML = list.innerHTML; peerCountEl.innerText = peerCount; + if (peerCount < 2){ + document.getElementById("connectStatus").src = "static/connect_ko.svg" + } else { + document.getElementById("connectStatus").src = "static/connect_ok.svg" + + } } getPeers(); setInterval(() => { diff --git a/static/doublescroll.js b/static/doublescroll.js index 5d40067..ebb4b79 100644 --- a/static/doublescroll.js +++ b/static/doublescroll.js @@ -104,7 +104,7 @@ // set the width of the wrappers $(options.topScrollBarInnerSelector, $topScrollBar).width($contentElement.outerWidth()); - $topScrollBar.width($self.width()); + $topScrollBar.width("100%"); $topScrollBar.scrollLeft($self.scrollLeft()); } diff --git a/static/ico/connect_ko.svg b/static/ico/connect_ko.svg new file mode 100644 index 0000000..9c8031c --- /dev/null +++ b/static/ico/connect_ko.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/ico/connect_ok.svg b/static/ico/connect_ok.svg new file mode 100644 index 0000000..1d62ffc --- /dev/null +++ b/static/ico/connect_ok.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/sw.js b/sw.js index 28c2177..f6a4087 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ -var cacheName = 'telesec_2025-05-29_7'; +var cacheName = 'telesec_2025-05-29_9'; self.addEventListener('install', event => { event.waitUntil(