Turn the spinner off after a refresh fails.
This commit is contained in:
parent
a03ee5de90
commit
3fb2a63185
1 changed files with 4 additions and 0 deletions
|
@ -611,6 +611,10 @@ function refresh_channel_callback(response)
|
|||
else
|
||||
{
|
||||
alert(JSON.stringify(response));
|
||||
for (let button of document.getElementsByClassName("refresh_button"))
|
||||
{
|
||||
window[button.dataset.spinnerCloser]();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue