fix rotues check when loop is active
This commit is contained in:
parent
d5bf12275c
commit
3bae233289
@ -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
|
||||
};
|
||||
|
4
js/reveal.min.js
vendored
4
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user