Преглед на файлове

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 );