diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-06-02 12:13:41 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2017-06-02 12:13:41 +0200 |
commit | 9ab14374e5d119b5d82adcdcac6078bcaba7bb73 (patch) | |
tree | 4e5d74f30c60e656a4bdc909514d499c97eb0a6b /js | |
parent | 0388c96e6075657ee0aa0d7885c989bcea982320 (diff) | |
download | perl-software-in-gnu-guix-9ab14374e5d119b5d82adcdcac6078bcaba7bb73.tar perl-software-in-gnu-guix-9ab14374e5d119b5d82adcdcac6078bcaba7bb73.tar.gz |
change condition for detecting when there are horizontal slides
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 2 |
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 { |