diff --git a/js/reveal.js b/js/reveal.js index 222a5a174cf1bc2ba5e847744d459f0783fcc410..a203418995d58b79076225e9b57bcbceddd8de4c 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2014,7 +2014,7 @@ var Reveal = (function(){ // Show the horizontal slide if it's within the view distance if( distanceX < viewDistance ) { - horizontalSlide.style.display = ''; + horizontalSlide.style.display = 'block'; loadSlide( horizontalSlide ); } else { @@ -2031,7 +2031,7 @@ var Reveal = (function(){ distanceY = x === indexh ? Math.abs( indexv - y ) : Math.abs( y - oy ); if( distanceX + distanceY < viewDistance ) { - verticalSlide.style.display = ''; + verticalSlide.style.display = 'block'; loadSlide( verticalSlide ); } else {