mirror of
https://github.com/Noratrieb/slides.git
synced 2026-01-16 01:15:06 +01:00
fixed issue with dependency loader failing when there were 0 async scripts (#214)
This commit is contained in:
parent
5c5b3d34d9
commit
f51067b00e
2 changed files with 14 additions and 12 deletions
|
|
@ -231,8 +231,10 @@ var Reveal = (function(){
|
|||
|
||||
// Called once synchronous scritps finish loading
|
||||
function proceed() {
|
||||
// Load asynchronous scripts
|
||||
head.js.apply( null, scriptsAsync );
|
||||
if( scriptsAsync.length ) {
|
||||
// Load asynchronous scripts
|
||||
head.js.apply( null, scriptsAsync );
|
||||
}
|
||||
|
||||
start();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue