adjustments to reveal.js initialization flow
This commit is contained in:
@@ -153,7 +153,7 @@ export default function( revealElement, options ) {
|
||||
// Load plugins then move on to #start()
|
||||
plugins.load( config.dependencies ).then( start )
|
||||
|
||||
return Reveal;
|
||||
return new Promise( resolve => Reveal.addEventListener( 'ready', resolve ) );
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user