Commit 4db475a
committed
fix(live-preview): navigate popped-out tabs to markdown files
The mdviewr branch in _loadPreview returned before reaching the
StaticServer.redirectAllTabs call that the HTML branch makes, so
popped-out preview windows stopped following along when the user
switched to a markdown file. Broadcast the URL change in the markdown
branch too — popped-out tabs render the legacy server-side markdown
URL while the embedded panel keeps using mdviewr.1 parent 37140fc commit 4db475a
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1008 | 1008 | | |
1009 | 1009 | | |
1010 | 1010 | | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
1011 | 1015 | | |
1012 | 1016 | | |
1013 | 1017 | | |
| |||
0 commit comments