瀏覽代碼

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