Browse Source

Hashes are removed from the URI before finishing transitions

theflametrooper 8 years ago
parent
commit
e03c3decf0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      frontend/main.js

+ 1 - 0
frontend/main.js

@@ -36,6 +36,7 @@ document.onkeydown = event => {
 };
 
 router.beforeEach(transition => {
+	window.location.hash = '';
 	if (window.stationInterval) {
 		clearInterval(window.stationInterval);
 		window.stationInterval = 0;