mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-29 06:04:28 -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();
|
addStatusBar();
|
||||||
updateStatusBar();
|
updateStatusBar();
|
||||||
}
|
}
|
||||||
|
//work around foldGutter might not init properly
|
||||||
|
editor.setOption('foldGutter', false);
|
||||||
|
editor.setOption('foldGutter', true);
|
||||||
} else {
|
} else {
|
||||||
ui.toolbar.uploadImage.fadeOut();
|
ui.toolbar.uploadImage.fadeOut();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue