1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-01-16 21:08:28 +01:00

prevent double-initialization #3696

This commit is contained in:
Hakim El Hattab 2024-10-25 10:27:54 +02:00
parent 96ca819770
commit 16ac4b0067
5 changed files with 6 additions and 4 deletions

2
dist/reveal.esm.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/reveal.js vendored

File diff suppressed because one or more lines are too long

2
dist/reveal.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -130,6 +130,8 @@ export default function( revealElement, options ) {
if( !revealElement ) throw 'Unable to find presentation root (<div class="reveal">).';
if( initialized ) throw 'Reveal.js has already been initialized.';
initialized = true;
// Cache references to key DOM elements