Browse Source

fix minor inconsistency in left/right nav when first/last slides are vertical

Hakim El Hattab 11 years ago
parent
commit
2abf6678fa
2 changed files with 3 additions and 3 deletions
  1. 2 2
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 2 - 2
js/reveal.js

@@ -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 );
 		}
 

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff