mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
Update workaround for slide, need to trigger it in other thread via setTimeout
This commit is contained in:
parent
d85dd19816
commit
ac087f0e90
1 changed files with 4 additions and 0 deletions
|
@ -62,6 +62,10 @@ function renderSlide(event) {
|
||||||
markdown.attr('data-rendered', 'true');
|
markdown.attr('data-rendered', 'true');
|
||||||
document.title = title;
|
document.title = title;
|
||||||
Reveal.layout();
|
Reveal.layout();
|
||||||
|
// force browser redraw
|
||||||
|
setTimeout(function () {
|
||||||
|
markdown.hide().show(0);
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue