瀏覽代碼

Increase delay for sending data to new window

crobi 10 年之前
父節點
當前提交
ada5837654
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      generator/js/ui.js

+ 1
- 1
generator/js/ui.js 查看文件

49
 
49
 
50
     // Send the generated HTML to the new window
50
     // Send the generated HTML to the new window
51
     // Use a delay to give the new window time to set up a message listener
51
     // Use a delay to give the new window time to set up a message listener
52
-    setTimeout(function () { tab.postMessage(card_html, '*') }, 100);
52
+    setTimeout(function () { tab.postMessage(card_html, '*') }, 500);
53
 }
53
 }
54
 
54
 
55
 function ui_load_sample() {
55
 function ui_load_sample() {

Loading…
取消
儲存