mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-05 14:17:56 +02:00
fix an error where reveal.js returned a 1> progress number when there were fragments on last slide
This commit is contained in:
@@ -4197,7 +4197,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return pastCount / ( totalCount - 1 );
|
return Math.min( pastCount / ( totalCount - 1 ), 1 );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user