fix rtl prev/next navigation on slides with fragments
This commit is contained in:
1 parent
421da63750
commit
488c5c8f94
6 files changed
+22
-6
No files matched your search
@@ -2595,6 +2595,9 @@ export default function( revealElement, options ) {
|
||||
let h = indexh - 1;
|
||||
slide( h, v );
|
||||
}
|
||||
else if( config.rtl ) {
|
||||
navigateRight({skipFragments});
|
||||
}
|
||||
else {
|
||||
navigateLeft({skipFragments});
|
||||
}
|
||||
@@ -2629,6 +2632,9 @@ export default function( revealElement, options ) {
|
||||
if( routes.down ) {
|
||||
navigateDown({skipFragments});
|
||||
}
|
||||
else if( config.rtl ) {
|
||||
navigateLeft({skipFragments});
|
||||
}
|
||||
else {
|
||||
navigateRight({skipFragments});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user