mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
Workaround foldGutter not showing on first view
This commit is contained in:
parent
b87463ae0d
commit
db956cc298
1 changed files with 3 additions and 0 deletions
|
@ -659,6 +659,9 @@ function changeMode(type) {
|
|||
addStatusBar();
|
||||
updateStatusBar();
|
||||
}
|
||||
//work around foldGutter might not init properly
|
||||
editor.setOption('foldGutter', false);
|
||||
editor.setOption('foldGutter', true);
|
||||
} else {
|
||||
ui.toolbar.uploadImage.fadeOut();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue