Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit ccfbcc1

Browse files
committed
⚡ Some fixes/perf improvements in mod_globe
1 parent 7a2e2fd commit ccfbcc1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/classes/locationGlobe.class.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class LocationGlobe {
2020
</div>`;
2121

2222
this.lastgeo = {};
23+
this.conns = [];
2324

2425

2526
setTimeout(() => {
@@ -165,6 +166,7 @@ class LocationGlobe {
165166
}
166167
}
167168
updateConns() {
169+
if (!window.mods.globe.globe) return false;
168170
this.si.networkConnections().then(conns => {
169171
let newconns = [];
170172
conns.forEach(conn => {

0 commit comments

Comments
 (0)