Преглед на файлове

Hashes are removed from the URI before finishing transitions

theflametrooper преди 8 години
родител
ревизия
e03c3decf0
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  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;