diff --git a/js/reveal.js b/js/reveal.js index 65866cc5..c3ead436 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -4197,7 +4197,7 @@ } - return pastCount / ( totalCount - 1 ); + return Math.min( pastCount / ( totalCount - 1 ), 1 ); }