mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Use history.replaceState
This commit is contained in:
@@ -105,7 +105,7 @@ let currentFile = '';
|
||||
currentFile = newFile;
|
||||
}
|
||||
|
||||
location.hash = currentFile;
|
||||
history.replaceState(null, '', `#${currentFile}`);
|
||||
fileLocationText.textContent = currentFile;
|
||||
|
||||
const model = fileModels[currentFile];
|
||||
|
||||
Reference in New Issue
Block a user