webui: fix infinite loop in browser when bazarr stops

pull/794/head
ngosang 5 years ago
parent a1a452e452
commit b9d4863fef

@ -423,11 +423,7 @@
ratio: '{value} / {total}'
}
});
}
},
complete: function (data) {
// Schedule the next
if (data.responseText !== "") {
notificationTimeout = setTimeout(doNotificationsAjax, 100);
} else {
notificationTimeout = setTimeout(doNotificationsAjax, 5000);

Loading…
Cancel
Save