Commit 9ab14374 authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

change condition for detecting when there are horizontal slides

parent 0388c96e
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment