Explorar el Código

Hashes are removed from the URI before finishing transitions

theflametrooper hace 8 años
padre
commit
e03c3decf0
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;