mirror of
https://github.com/status-im/codimd.git
synced 2025-02-02 15:03:22 +00:00
Update workaround for slide, need to trigger it in other thread via setTimeout
This commit is contained in:
parent
d85dd19816
commit
ac087f0e90
@ -62,6 +62,10 @@ function renderSlide(event) {
|
||||
markdown.attr('data-rendered', 'true');
|
||||
document.title = title;
|
||||
Reveal.layout();
|
||||
// force browser redraw
|
||||
setTimeout(function () {
|
||||
markdown.hide().show(0);
|
||||
}, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user