fix an error where reveal.js returned a 1> progress number when there were fragments on last slide
This commit is contained in:
parent
b8de5e02d2
commit
922d791fd9
@ -4197,7 +4197,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pastCount / ( totalCount - 1 );
|
return Math.min( pastCount / ( totalCount - 1 ), 1 );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user