forked from Shinonome/dots-hyprland
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