reload if oml restarts between sending out html and connecting to ws

This commit is contained in:
j 2016-01-14 09:29:47 +05:30
parent 3fd6f8735d
commit 59bbd33a55

View file

@ -28,6 +28,8 @@
if (name == 'updatestatus') {
update.status.innerHTML = data.status;
update.reload = data.reload;
} else if (name == 'status') {
reload(); // oml is running
} else {
console.log(name, data);
}