Quellcode durchsuchen

Hashes are removed from the URI before finishing transitions

theflametrooper vor 8 Jahren
Ursprung
Commit
e03c3decf0
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  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;