Node.js based forum software built for the modern web
possible fix for #1848
barisusakli0ede4abe18f1
diff --git a/public/src/ajaxify.js b/public/src/ajaxify.jsindex 184920b3f8..2aa61c9426 100644--- a/public/src/ajaxify.js+++ b/public/src/ajaxify.js@@ -72,7 +72,7 @@ $(document).ready(function() {if (ajaxify.isTemplateAvailable(tpl_url) && !!!templatesModule.config.force_refresh[tpl_url]) {ajaxify.currentPage = url;- if (window.history && window.history.pushState) {+ if (window.history && window.history.pushState && url !== '404') {window.history[!quiet ? 'pushState' : 'replaceState']({url: url + hash}, url, RELATIVE_PATH + '/' + url + hash);