Small fix for invalid http response of updates.
This commit is contained in:
parent
43bc625c08
commit
0b421209a2
1 changed files with 4 additions and 0 deletions
|
|
@ -368,6 +368,10 @@ DynMap.prototype = {
|
|||
|
||||
$(me).trigger('worldupdating');
|
||||
$.getJSON(me.options.updateUrl + "world/" + me.world.name + "/" + me.lasttimestamp, function(update) {
|
||||
if (!update) {
|
||||
setTimeout(function() { me.update(); }, me.options.updaterate);
|
||||
return;
|
||||
}
|
||||
me.alertbox.hide();
|
||||
|
||||
if (!me.options.jsonfile) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue