mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 01:36:29 -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