Node.js based forum software built for the modern web
just changed the 403/404 checking logic to use regex.
Andrew Darqui4b0e9156986e
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 2d0ddc273a..81344db292 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -117,7 +117,7 @@ var ajaxify = {};if (hrefEmpty(this.href) || this.target !== '' || this.protocol === 'javascript:')return;- if(window.location.pathname != '/403' && window.location.pathname != '/404')+ if(!window.location.pathname.match(/\/(403|404)$/g))app.previousUrl = window.location.href;if (!e.ctrlKey && e.which === 1) {