diff --git a/js/reveal.js b/js/reveal.js index 2e3ee39..d92ee76 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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(); } diff --git a/js/reveal.min.js b/js/reveal.min.js index 53fb129..e31d807 100644 --- a/js/reveal.min.js +++ b/js/reveal.min.js @@ -16,16 +16,16 @@ f.controlsLeft=document.querySelector(".reveal .controls .left");f.controlsRight f.controlsDown=document.querySelector(".reveal .controls .down");}}function d(){if(navigator.userAgent.match(/(iphone|ipod|android)/i)){document.documentElement.style.overflow="scroll"; document.body.style.height="120%";window.addEventListener("load",ad,false);window.addEventListener("orientationchange",ad,false);}}function V(){var am=[],aq=[]; for(var an=0,al=R.dependencies.length;an