fix non-pdf printing (closes #881)

This commit is contained in:
Hakim El Hattab
2014-04-26 19:16:10 +02:00
parent b019604531
commit ae962d729b
3 changed files with 174 additions and 161 deletions

View File

@ -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 {