mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 23:09:26 -05:00
Fix Booru pending query not dismissing when fetch fails (#2207)
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user