Skip to content

Node.js based forum software built for the modern web

resolve regression introduced by 1d9c2f49d2f7c03b928ce6ec5d8049d19ea11422

Julian Lam7caad67ef23e
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js
index 58bd66c282..e6464db5d1 100644
--- a/public/src/ajaxify.js
+++ b/public/src/ajaxify.js
@@ -147,6 +147,7 @@ $(document).ready(function () {
if (status === 403 || status === 404 || status === 500 || status === 502 || status === 503) {
if (status === 502 && retry) {
retry = false;
+ ajaxifyTimer = undefined;
return ajaxify.go(url, callback, quiet);
}
if (status === 502) {
@@ -167,6 +168,7 @@ $(document).ready(function () {
if (data.responseJSON && data.responseJSON.external) {
window.location.href = data.responseJSON.external;
} else if (typeof data.responseJSON === 'string') {
+ ajaxifyTimer = undefined;
ajaxify.go(data.responseJSON.slice(1), callback, quiet);
}
}