fix transitions in firefox
This commit is contained in:
		| @@ -2014,7 +2014,7 @@ var Reveal = (function(){ | |||||||
|  |  | ||||||
| 				// Show the horizontal slide if it's within the view distance | 				// Show the horizontal slide if it's within the view distance | ||||||
| 				if( distanceX < viewDistance ) { | 				if( distanceX < viewDistance ) { | ||||||
| 					horizontalSlide.style.display = ''; | 					horizontalSlide.style.display = 'block'; | ||||||
| 					loadSlide( horizontalSlide ); | 					loadSlide( horizontalSlide ); | ||||||
| 				} | 				} | ||||||
| 				else { | 				else { | ||||||
| @@ -2031,7 +2031,7 @@ var Reveal = (function(){ | |||||||
| 						distanceY = x === indexh ? Math.abs( indexv - y ) : Math.abs( y - oy ); | 						distanceY = x === indexh ? Math.abs( indexv - y ) : Math.abs( y - oy ); | ||||||
|  |  | ||||||
| 						if( distanceX + distanceY < viewDistance ) { | 						if( distanceX + distanceY < viewDistance ) { | ||||||
| 							verticalSlide.style.display = ''; | 							verticalSlide.style.display = 'block'; | ||||||
| 							loadSlide( verticalSlide ); | 							loadSlide( verticalSlide ); | ||||||
| 						} | 						} | ||||||
| 						else { | 						else { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user