aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-03-04 16:17:01 -0500
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-03-04 16:17:01 -0500
commit2abf6678fa7df189b5d09e4fce15aaa104396306 (patch)
tree6001f6218d61ddfc0311114b66ce7c713957c3cd /js/reveal.js
parent3a8e6dd4baf6213051a1bb5dca60e2d045928e0d (diff)
downloadperl-software-in-gnu-guix-2abf6678fa7df189b5d09e4fce15aaa104396306.tar
perl-software-in-gnu-guix-2abf6678fa7df189b5d09e4fce15aaa104396306.tar.gz
fix minor inconsistency in left/right nav when first/last slides are vertical
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index db3959c..1ce3481 100644
--- a/js/reveal.js
+++ b/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 );
}