mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-30 22:24:06 +01:00
Standalone: Load changes immediately after page load
This commit is contained in:
parent
1be9f663c7
commit
59578e6824
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user