diff options
Diffstat (limited to 'js/reveal.js')
-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 1ce3481..65ba58d 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1324,8 +1324,8 @@ var Reveal = (function(){ verticalSlides = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR ); return { - left: indexh > 0, - right: indexh < horizontalSlides.length - 1, + left: indexh > 0 || config.loop, + right: indexh < horizontalSlides.length - 1 || config.loop, up: indexv > 0, down: indexv < verticalSlides.length - 1 }; |