Skip to content
Snippets Groups Projects
Commit ca6ffe85 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Dont push to browser history!

parent 6f28fd0f
No related branches found
No related tags found
No related merge requests found
......@@ -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));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment