Explorar el Código

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

Hakim El Hattab hace 11 años
padre
commit
2abf6678fa
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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 );
 		}
 

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
js/reveal.min.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio