aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {