aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 65866cc..c3ead43 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -4197,7 +4197,7 @@
}
- return pastCount / ( totalCount - 1 );
+ return Math.min( pastCount / ( totalCount - 1 ), 1 );
}