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

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,7 +49,7 @@ function ui_generate() {
49 49
 
50 50
     // Send the generated HTML to the new window
51 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 55
 function ui_load_sample() {

Loading…
Откажи
Сачувај