Skip to content

Node.js based forum software built for the modern web

finally found reliable repro steps and squashed you like the bug you are. fixed #1280

psychobunnyb464099cca62
diff --git a/public/src/app.js b/public/src/app.js
index 57e953a414..acd6b4fd35 100644
--- a/public/src/app.js
+++ b/public/src/app.js
@@ -571,6 +571,13 @@ var socket,
ajaxify.widgets.render(tpl_url, url);
+ if (window.history && window.history.replaceState) {
+ var hash = window.location.hash ? window.location.hash : '';
+ window.history.replaceState({
+ url: url + hash
+ }, url, RELATIVE_PATH + '/' + url + hash);
+ }
+
ajaxify.loadScript(tpl_url, function() {
$(window).trigger('action:ajaxify.end', {
url: url