2
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-10 01:13:33 +00:00

Fix multiple messages on windows after change config with reboot

This commit is contained in:
Ozzie Isaacs 2021-07-26 16:50:21 +02:00
parent 018f3ca250
commit 53dae32897

View File

@ -611,7 +611,10 @@ $(function() {
if (xhr.status < 400) { if (xhr.status < 400) {
$("#spinning_success").hide(); $("#spinning_success").hide();
clearInterval(rebootInterval); clearInterval(rebootInterval);
if (data.result) {
handle_response(data.result); handle_response(data.result);
data.result = "";
}
} }
}, },
}); });