From e7d82f1316a51cae3f33bc3c37faeb65280f62a9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sat, 26 Apr 2014 20:23:40 +0200 Subject: [PATCH] fix transitions in firefox --- js/reveal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index 222a5a1..a203418 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 {