diff options
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index fabcded..c7860ad 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1317,7 +1317,7 @@ var Reveal = (function(){ // Prefer slide argument, otherwise use current slide slide = slide ? slide : currentSlide; - return slide && !!slide.parentNode.nodeName.match( /section/i ); + return slide && slide.parentNode && !!slide.parentNode.nodeName.match( /section/i ); } |