We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b48f95 commit 7fb75e0Copy full SHA for 7fb75e0
2 files changed
q5.js
@@ -10,8 +10,15 @@ function Q5(scope){
10
$.canvas.height = $.height;
11
12
if (scope != "offscreen"){
13
- document.body.appendChild($.canvas);
+ if (document.body){
14
+ document.body.appendChild($.canvas);
15
+ }else{
16
+ window.addEventListener("load",function(){
17
18
+ })
19
+ }
20
}
21
+
22
defaultStyle();
23
24
//================================================================
0 commit comments