mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Adding a final message when gravity is done
Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
This commit is contained in:
@@ -38,6 +38,7 @@ function eventsource() {
|
||||
return reader.read().then(({ done, value }) => {
|
||||
// When no more data needs to be consumed, close the stream
|
||||
if (done) {
|
||||
ta.append("Done.");
|
||||
controller.close();
|
||||
alInfo.hide();
|
||||
$("#gravityBtn").prop("disabled", false);
|
||||
|
||||
Reference in New Issue
Block a user