Merge pull request #2668 from lennartbecker/load-map-updates-immediately
Standalone: Load changes immediately after page load
This commit is contained in:
commit
4e7448dd8f
1 changed files with 1 additions and 0 deletions
|
|
@ -375,6 +375,7 @@ DynMap.prototype = {
|
|||
componentstoload--;
|
||||
if (componentstoload == 0) {
|
||||
// Actually start updating once all components are loaded.
|
||||
me.update();
|
||||
setTimeout(function() { me.update(); }, me.options.updaterate);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue