Fix Booru pending query not dismissing when fetch fails (#2207)

This commit is contained in:
end-4
2025-10-16 09:31:53 +02:00
committed by GitHub
@@ -399,6 +399,9 @@ Singleton {
}
else if (xhr.readyState === XMLHttpRequest.DONE) {
console.log("[Booru] Request failed with status: " + xhr.status)
newResponse.message = root.failMessage
root.runningRequests--;
root.responses = [...root.responses, newResponse]
}
root.responseFinished()
}