From ca6ffe85ebc99849b076c5a98f72e2ee17e69f88 Mon Sep 17 00:00:00 2001
From: Anton Sarukhanov <code@ant.sr>
Date: Sat, 13 Aug 2016 19:34:03 -0400
Subject: [PATCH] Dont push to browser history!

---
 static/js/map.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/static/js/map.js b/static/js/map.js
index 7694b32..9283f29 100644
--- a/static/js/map.js
+++ b/static/js/map.js
@@ -480,7 +480,7 @@ BusMap.Map = function(opts) {
             return;
         }
         that.hashChangedProgrammatically = true; // avoid infinite loop!
-        window.location = window.location.href.replace(window.location.hash, "#" + view);
+        window.location.replace(window.location.href.replace(window.location.hash, "#" + view));
     }
 
 
-- 
GitLab