Bugfix
This commit is contained in:
@@ -23,14 +23,12 @@ function fetchAndExecute(url, name, callback, callError)
|
||||
return res.text();
|
||||
})
|
||||
.then(text => {
|
||||
console.log("text", text);
|
||||
callback(text);
|
||||
})
|
||||
.catch(function (error) {
|
||||
callError("Error getting " + name);
|
||||
callError("Error getting " + name);
|
||||
})
|
||||
.finally(() => {
|
||||
console.log("finally");
|
||||
// if (callback) setTimeout(callback,99);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -2915,9 +2915,9 @@ function fetchAndExecute(url, name, callback, callError)
|
||||
})
|
||||
.catch(function (error) {
|
||||
callError("Error getting " + name);
|
||||
console.log(error);
|
||||
})
|
||||
.finally(() => {
|
||||
console.log("finally");
|
||||
// if (callback) setTimeout(callback,99);
|
||||
});
|
||||
}
|
||||
|
||||
1562
wled00/html_ui.h
1562
wled00/html_ui.h
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user