summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZach DeCook2019-05-29 10:22:15 -0400
committerZach DeCook2019-05-29 10:22:15 -0400
commitc62f4c7cfbe72850a8df2167f04fb8d1d45fcb02 (patch)
treef5ee6914331353593c050cd57ec9df752bf4d2f5
parent99c349825392e74aa15104367d73c248327eb7ba (diff)
* Linear Navigation: Fix showing arrows when last slide has vertical children
-rw-r--r--js/reveal.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 0065e9b..fbcb281 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3951,6 +3951,11 @@
}
}
+ if( config.navigationMode === "linear" ) {
+ routes.right = routes.right || routes.down;
+ routes.left = routes.left || routes.up;
+ }
+
// Reverse horizontal controls for rtl
if( config.rtl ) {
var left = routes.left;