mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 09:56:17 +08:00
FIX: oneboxer.js infinitely retrying failed requests (#8414)
* setFailedCache was used like a variable object, when it was in fact a function
This commit is contained in:
parent
ebc82eb63e
commit
d0246104ee
|
@ -86,7 +86,7 @@ function loadNext(ajax) {
|
|||
removeLoading = false;
|
||||
loadingQueue.unshift({ url, refresh, $elem, categoryId, topicId });
|
||||
} else {
|
||||
setFailedCache[normalize(url)] = true;
|
||||
setFailedCache(normalize(url), true);
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user