mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-14 16:35:07 +01:00
fix slide numbering issue with uncounted horizontal slides (fixes #2675)
This commit is contained in:
parent
37d8337411
commit
66cbd66fb6
4 changed files with 9 additions and 6 deletions
|
|
@ -1793,7 +1793,7 @@ export default function( revealElement, options ) {
|
|||
|
||||
// Don't count the wrapping section for vertical slides and
|
||||
// slides marked as uncounted
|
||||
if( horizontalSlide.classList.contains( 'stack' ) === false && !horizontalSlide.dataset.visibility !== 'uncounted' ) {
|
||||
if( horizontalSlide.classList.contains( 'stack' ) === false && horizontalSlide.dataset.visibility !== 'uncounted' ) {
|
||||
pastCount++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue