Explorar o código

Hashes are removed from the URI before finishing transitions

theflametrooper %!s(int64=8) %!d(string=hai) anos
pai
achega
e03c3decf0
Modificáronse 1 ficheiros con 1 adicións e 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;