correction to navigate top/right/bottom/left methods (closes #409)
This commit is contained in:
		| @@ -1582,7 +1582,7 @@ var Reveal = (function(){ | |||||||
| 	function navigateLeft() { | 	function navigateLeft() { | ||||||
|  |  | ||||||
| 		// Prioritize hiding fragments | 		// Prioritize hiding fragments | ||||||
| 		if( availableRoutes().left && ( isOverview() || previousFragment() === false ) ) { | 		if( ( isOverview() || previousFragment() === false ) && availableRoutes().left ) { | ||||||
| 			slide( indexh - 1 ); | 			slide( indexh - 1 ); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| @@ -1591,7 +1591,7 @@ var Reveal = (function(){ | |||||||
| 	function navigateRight() { | 	function navigateRight() { | ||||||
|  |  | ||||||
| 		// Prioritize revealing fragments | 		// Prioritize revealing fragments | ||||||
| 		if( availableRoutes().right && ( isOverview() || nextFragment() === false ) ) { | 		if( ( isOverview() || nextFragment() === false ) && availableRoutes().right ) { | ||||||
| 			slide( indexh + 1 ); | 			slide( indexh + 1 ); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| @@ -1600,7 +1600,7 @@ var Reveal = (function(){ | |||||||
| 	function navigateUp() { | 	function navigateUp() { | ||||||
|  |  | ||||||
| 		// Prioritize hiding fragments | 		// Prioritize hiding fragments | ||||||
| 		if( availableRoutes().up && isOverview() || previousFragment() === false ) { | 		if( ( isOverview() || previousFragment() === false ) && availableRoutes().up ) { | ||||||
| 			slide( indexh, indexv - 1 ); | 			slide( indexh, indexv - 1 ); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| @@ -1609,7 +1609,7 @@ var Reveal = (function(){ | |||||||
| 	function navigateDown() { | 	function navigateDown() { | ||||||
|  |  | ||||||
| 		// Prioritize revealing fragments | 		// Prioritize revealing fragments | ||||||
| 		if( availableRoutes().down && isOverview() || nextFragment() === false ) { | 		if( ( isOverview() || nextFragment() === false ) && availableRoutes().down ) { | ||||||
| 			slide( indexh, indexv + 1 ); | 			slide( indexh, indexv + 1 ); | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								js/reveal.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								js/reveal.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user