Fix RTL Navigation with space bar
This commit is contained in:
		@@ -3432,6 +3432,9 @@
 | 
			
		||||
				if( previousSlide ) {
 | 
			
		||||
					var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined;
 | 
			
		||||
					var h = indexh - 1;
 | 
			
		||||
					if( config.rtl ) {
 | 
			
		||||
						h = indexh + 1;
 | 
			
		||||
					}
 | 
			
		||||
					slide( h, v );
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
@@ -3446,7 +3449,11 @@
 | 
			
		||||
 | 
			
		||||
		// Prioritize revealing fragments
 | 
			
		||||
		if( nextFragment() === false ) {
 | 
			
		||||
			availableRoutes().down ? navigateDown() : navigateRight();
 | 
			
		||||
			if( config.rtl ) {
 | 
			
		||||
				availableRoutes().down ? navigateDown() : navigateLeft();
 | 
			
		||||
			} else {
 | 
			
		||||
				availableRoutes().down ? navigateDown() : navigateRight();
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// If auto-sliding is enabled we need to cue up
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user