forked from blallo/talk-hm-0x15
change condition for detecting when there are horizontal slides
This commit is contained in:
parent
0388c96e60
commit
9ab14374e5
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue