Skip to content

Commit 5d5c80c

Browse files
committed
Fix navigator losing ToC when overwriting document
1 parent f62a84f commit 5d5c80c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ide.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,6 +2324,7 @@ export class IDE {
23242324
location.hash = modified;
23252325

23262326
this.saveDocument();
2327+
this.navigator.loadDocument(neueId, neueId);
23272328
}
23282329

23292330
saveToGist() {

0 commit comments

Comments
 (0)