fixes bug where the .present class remained on previous slide (closes #88)
This commit is contained in:
@ -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' );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user