Skip to content

Commit ac087f0

Browse files
committed
Update workaround for slide, need to trigger it in other thread via setTimeout
1 parent d85dd19 commit ac087f0

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

public/js/slide.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ function renderSlide(event) {
6262
markdown.attr('data-rendered', 'true');
6363
document.title = title;
6464
Reveal.layout();
65+
// force browser redraw
66+
setTimeout(function () {
67+
markdown.hide().show(0);
68+
}, 0);
6569
}
6670
}
6771

0 commit comments

Comments
 (0)