Index: composer.postload.js |
=================================================================== |
--- a/composer.postload.js |
+++ b/composer.postload.js |
@@ -577,10 +577,15 @@ |
} |
}); |
} |
break; |
} |
}); |
if (window == window.top) |
- ext.backgroundPage.sendMessage({type: "composer.ready"}); |
+ { |
+ whenDocumentVisible(() => |
+ { |
+ ext.backgroundPage.sendMessage({type: "composer.ready"}); |
+ }); |
+ } |
} |