summaryrefslogtreecommitdiff
path: root/public/js/slide.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/slide.js')
-rw-r--r--public/js/slide.js4
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);
}
}