diff --git a/static/js/map.js b/static/js/map.js index 7694b32eb9a16fe085671f6903b74b3bf049e10d..9283f293b89b7a2d373b5b31cd94c730f66006f5 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)); }