fix minor inconsistency in left/right nav when first/last slides are vertical
This commit is contained in:
parent
3a8e6dd4ba
commit
2abf6678fa
|
@ -1543,7 +1543,7 @@ var Reveal = (function(){
|
|||
function navigateLeft() {
|
||||
|
||||
// Prioritize hiding fragments
|
||||
if( availableRoutes().left && isOverview() || previousFragment() === false ) {
|
||||
if( availableRoutes().left && ( isOverview() || previousFragment() === false ) ) {
|
||||
slide( indexh - 1 );
|
||||
}
|
||||
|
||||
|
@ -1552,7 +1552,7 @@ var Reveal = (function(){
|
|||
function navigateRight() {
|
||||
|
||||
// Prioritize revealing fragments
|
||||
if( availableRoutes().right && isOverview() || nextFragment() === false ) {
|
||||
if( availableRoutes().right && ( isOverview() || nextFragment() === false ) ) {
|
||||
slide( indexh + 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