update gun_init.js

This commit is contained in:
naielv
2025-08-30 09:54:26 +02:00
parent 1f3ec25f32
commit d9b379ec42

View File

@@ -51,7 +51,7 @@ function createPeerListElement(wireHType, wireID) {
}
function updateConnectionStatus(peerCount) {
const statusImage = peerCount < 3 ? "connect_ko.svg" : "connect_ok.svg";
var statusImage = peerCount < 3 ? "connect_ko.svg" : "connect_ok.svg";
if (window.navigator.onLine == false) {
statusImage = "offline.svg"
}