Standalone: Load changes immediately after page load

This commit is contained in:
Lennart Becker 2019-11-29 12:33:03 +01:00
parent 1be9f663c7
commit 59578e6824

View File

@ -375,6 +375,7 @@ DynMap.prototype = {
componentstoload--; componentstoload--;
if (componentstoload == 0) { if (componentstoload == 0) {
// Actually start updating once all components are loaded. // Actually start updating once all components are loaded.
me.update();
setTimeout(function() { me.update(); }, me.options.updaterate); setTimeout(function() { me.update(); }, me.options.updaterate);
} }
}); });