We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92a5fea + d8d408b commit 3599cc1Copy full SHA for 3599cc1
src/Leaves/BackgroundTaskViewBridge.js
@@ -36,7 +36,9 @@ bridge.prototype.start = function(){
36
xmlhttp.onreadystatechange = function () {
37
38
// if the ready state is now 4 we've already processed our entire output.
39
- if (xmlhttp.completed) {
+ if (xmlhttp.completed || xmlhttp.readyState === 4) {
40
+ document.body.classList.remove("event-processing");
41
+
42
return;
43
}
44
0 commit comments