From b464099cca629e04f592fc37c52ac2da7250e1f1 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 7 Apr 2014 14:32:17 -0400 Subject: [PATCH] finally found reliable repro steps and squashed you like the bug you are. fixed #1280 --- public/src/app.js | 7 +++++++ 1 file changed, 7 insertions(+) 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