Explorar o código

fix transitions in firefox

Hakim El Hattab %!s(int64=11) %!d(string=hai) anos
pai
achega
e7d82f1316
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      js/reveal.js

+ 2 - 2
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 {