Make web UI reload when configuration changes, server restarts
This commit is contained in:
parent
4af95f57df
commit
edcf1cfd10
4 changed files with 20 additions and 1 deletions
|
|
@ -526,6 +526,10 @@ DynMap.prototype = {
|
|||
if (!me.options.jsonfile) {
|
||||
me.lasttimestamp = update.timestamp;
|
||||
}
|
||||
if(me.options.confighash != update.confighash) {
|
||||
window.location.reload(true);
|
||||
return;
|
||||
}
|
||||
|
||||
me.servertime = update.servertime;
|
||||
var newserverday = (me.servertime > 23100 || me.servertime < 12900);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue