aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 3387904..8ae46b6 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1,5 +1,5 @@
/*!
- * reveal.js 1.5 r2
+ * reveal.js 1.5 r3
* http://lab.hakim.se/reveal-js
* MIT licensed
*
@@ -731,6 +731,13 @@ var Reveal = (function(){
// Ensure that the previous slide is never the same as the current
previousSlide = null;
}
+
+ // Solves an edge case where the previous slide maintains the
+ // 'present' class when navigating between adjacent vertical
+ // stacks
+ if( previousSlide ) {
+ previousSlide.classList.remove( 'present' );
+ }
}
/**