summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 310672d..621a85b 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -749,7 +749,7 @@ var Reveal = (function(){
// If we were on a vertical stack, remember what vertical index
// it was on so we can resume at the same position when returning
- if( previousSlide && previousSlide.parentNode.classList.contains( 'stack' ) ) {
+ if( previousSlide && previousSlide.parentNode && previousSlide.parentNode.classList.contains( 'stack' ) ) {
setPreviousVerticalIndex( previousSlide.parentNode, indexv );
}