From 611fd380eb55197cf1c8fccc14d058143ce65751 Mon Sep 17 00:00:00 2001 From: Aziz Khoury Date: Fri, 16 May 2014 01:38:20 -0400 Subject: [PATCH] fixes topic/1503 --- public/src/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/src/app.js b/public/src/app.js index edf22a0c50..3484b54205 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -512,6 +512,7 @@ var socket, app.load = function() { $('document').ready(function () { var url = window.location.pathname.slice(1), + search = window.location.search, tpl_url = ajaxify.getTemplateMapping(url); url = url.replace(/\/$/, ""); @@ -551,7 +552,7 @@ var socket, if (window.history && window.history.replaceState) { var hash = window.location.hash ? window.location.hash : ''; window.history.replaceState({ - url: url + hash + url: url + search + hash }, url, RELATIVE_PATH + '/' + url + hash); }