Browse Source

Increase delay for sending data to new window

crobi 10 years ago
parent
commit
ada5837654
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      generator/js/ui.js

+ 1
- 1
generator/js/ui.js View File

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…
Cancel
Save