We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c901b28 + 245c22f commit 93e7c2fCopy full SHA for 93e7c2f
CCBoot.js
@@ -2669,7 +2669,7 @@ cc.game = /** @lends cc.game# */{
2669
}
2670
width = width || element.clientWidth;
2671
height = height || element.clientHeight;
2672
- this.canvas = cc._canvas = localCanvas = document.createElement("CANVAS");
+ this.canvas = cc._canvas = localCanvas = cc.$(document.createElement("CANVAS"));
2673
this.container = cc.container = localContainer = document.createElement("DIV");
2674
element.appendChild(localContainer);
2675
0 commit comments