aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-06-02 12:13:41 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-06-02 12:13:41 +0200
commit9ab14374e5d119b5d82adcdcac6078bcaba7bb73 (patch)
tree4e5d74f30c60e656a4bdc909514d499c97eb0a6b
parent0388c96e6075657ee0aa0d7885c989bcea982320 (diff)
downloadfosdem-2018-presentation-9ab14374e5d119b5d82adcdcac6078bcaba7bb73.tar
fosdem-2018-presentation-9ab14374e5d119b5d82adcdcac6078bcaba7bb73.tar.gz
change condition for detecting when there are horizontal slides
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 997337b..ae0ec35 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2764,7 +2764,7 @@
}
// Flag if there are ANY horizontal slides, anywhere in the deck
- if( dom.wrapper.querySelectorAll( '.slides>section:not(.stack)' ).length ) {
+ if( dom.wrapper.querySelectorAll( '.slides>section' ).length > 1 ) {
dom.wrapper.classList.add( 'has-horizontal-slides' );
}
else {