diff --git a/html/planeObject.js b/html/planeObject.js
index 87d85ef..cbc06b6 100644
--- a/html/planeObject.js
+++ b/html/planeObject.js
@@ -2721,7 +2721,7 @@ PlaneObject.prototype.isNonIcao = function() {
};
PlaneObject.prototype.checkVisible = function() {
- const refresh = lastRefreshInt / 1000;
+ const refresh = g.lastRefreshInt / 1000;
const noInfoTimeout = replay ? 600 : (reApi ? (30 + 2 * refresh) : (30 + Math.min(1, (globeTilesViewCount / globeSimLoad)) * (2 * refresh)));
const modeSTime = (guessModeS && this.dataSource == "modeS") ? 300 : 0;
const tisbReduction = (globeIndex && this.icao[0] == '~') ? 15 : 0;
diff --git a/html/script.js b/html/script.js
index 70dc676..80b3091 100644
--- a/html/script.js
+++ b/html/script.js
@@ -134,7 +134,7 @@ let lastRequestSize = 0;
let lastRequestBox = '';
let nextQuerySelected = 0;
let enableDynamicCachebusting = false;
-let lastRefreshInt = 1000;
+g.lastRefreshInt = 1000;
let reapTimeout = globeIndex ? 240 : 480;
@@ -537,7 +537,7 @@ function fetchData(options) {
}
let currentTime = new Date().getTime();
const refreshMs = refreshInt()
- lastRefreshInt = refreshMs;
+ g.lastRefreshInt = refreshMs;
if (!options.force) {
if (