mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
firmware: spaces
This commit is contained in:
parent
a634a803e2
commit
7cc2127769
@ -42,7 +42,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
function updateStatus() {
|
||||
// update UI
|
||||
updateStatusPrepare();
|
||||
updateStatusPrepare();
|
||||
|
||||
// request status
|
||||
ajaxGet('/api/core/firmware/status',{},function(data,status){
|
||||
@ -364,7 +364,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
// dashboard link: run check automatically
|
||||
} else if (window.location.hash == '#checkupdate') {
|
||||
// update UI and delay update to avoid races
|
||||
updateStatusPrepare();
|
||||
updateStatusPrepare();
|
||||
setTimeout(updateStatus, 1000);
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user