diff options
author | Wu Cheng-Han | 2016-07-30 21:07:48 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2016-07-30 21:07:48 +0800 |
commit | ac087f0e90cd08e7a3a89fc0236f16e68acdaae8 (patch) | |
tree | 8d94093a712c295033fa5d95186c824a840976a8 | |
parent | d85dd19816df7ec74eb3e4dd31b3c4d63c6119aa (diff) |
Update workaround for slide, need to trigger it in other thread via setTimeout
Diffstat (limited to '')
-rw-r--r-- | public/js/slide.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/public/js/slide.js b/public/js/slide.js index 4c2f1ff9..074e4df9 100644 --- a/public/js/slide.js +++ b/public/js/slide.js @@ -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); } } |