diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-26 20:23:40 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-04-26 20:23:40 +0200 |
commit | e7d82f1316a51cae3f33bc3c37faeb65280f62a9 (patch) | |
tree | f8441f5414321a5e5e85d06597f37d717b13103f | |
parent | ae962d729be2b6e1b8db0c5e207c55887ff9f8dc (diff) | |
download | perl-software-in-gnu-guix-e7d82f1316a51cae3f33bc3c37faeb65280f62a9.tar perl-software-in-gnu-guix-e7d82f1316a51cae3f33bc3c37faeb65280f62a9.tar.gz |
fix transitions in firefox
-rw-r--r-- | js/reveal.js | 4 |
1 files 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 { |