Skip to content

Commit

Permalink
Try slidechanged → slidetransitionend
Browse files Browse the repository at this point in the history
  • Loading branch information
webpro committed Feb 10, 2024
1 parent 5153fad commit 6173270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/template/reveal.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
mermaid.initialize(mermaidOptions);
const cb = function (event) { mermaid.init(mermaidOptions, '.stack.present pre code.mermaid'); };
Reveal.addEventListener('ready', cb);
Reveal.addEventListener('slidechanged', cb);
Reveal.addEventListener('slidetransitionend', cb);
</script>
{{/mermaidOptionsStr}}
</body>
Expand Down

0 comments on commit 6173270

Please sign in to comment.