mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
Drop running booru fetch and alert on fetch error
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