Преглед изворни кода

Issue #698: Non-async scripts were not executed before Reveal started

Thomas Endres пре 11 година
родитељ
комит
0ffbe8d09c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -284,7 +284,7 @@ var Reveal = (function(){
 		}
 
 		if( scripts.length ) {
-			head.ready( proceed );
+            scripts.push(proceed);
 
 			// Load synchronous scripts
 			head.js.apply( null, scripts );