aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-26 19:16:10 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-26 19:16:10 +0200
commitae962d729be2b6e1b8db0c5e207c55887ff9f8dc (patch)
tree43c22096246a60fe87871f0c91cca883ff3c3a90 /js
parentb0196045310a2f56f59f5a971399482745578f87 (diff)
downloadfreenode-live-2017-presentation-ae962d729be2b6e1b8db0c5e207c55887ff9f8dc.tar
freenode-live-2017-presentation-ae962d729be2b6e1b8db0c5e207c55887ff9f8dc.tar.gz
fix non-pdf printing (closes #881)
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index a203418..222a5a1 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 = 'block';
+ horizontalSlide.style.display = '';
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 = 'block';
+ verticalSlide.style.display = '';
loadSlide( verticalSlide );
}
else {