mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-26 03:33:58 -05:00
Fix TOC might not update after changeMode
This commit is contained in:
parent
b6aa045997
commit
4de73477b4
1 changed files with 3 additions and 0 deletions
|
@ -1173,6 +1173,9 @@ function changeMode(type) {
|
|||
editor.refresh();
|
||||
}
|
||||
|
||||
$(document.body).scrollspy('refresh');
|
||||
ui.area.view.scrollspy('refresh');
|
||||
|
||||
ui.toolbar.both.removeClass("active");
|
||||
ui.toolbar.edit.removeClass("active");
|
||||
ui.toolbar.view.removeClass("active");
|
||||
|
|
Loading…
Reference in a new issue