Skip to content

Commit

Permalink
fix an error where reveal.js returned a 1> progress number when there…
Browse files Browse the repository at this point in the history
… were fragments on last slide
  • Loading branch information
hakimel committed Mar 25, 2019
1 parent b8de5e0 commit 922d791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -4197,7 +4197,7 @@

}

return pastCount / ( totalCount - 1 );
return Math.min( pastCount / ( totalCount - 1 ), 1 );

}

Expand Down

0 comments on commit 922d791

Please sign in to comment.