mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
remove render element warning
This commit is contained in:
parent
04d229ebec
commit
459425b2a3
1 changed files with 0 additions and 2 deletions
|
@ -124,8 +124,6 @@ var Mouse = require('../core/Mouse');
|
|||
|
||||
if (Common.isElement(render.element)) {
|
||||
render.element.appendChild(render.canvas);
|
||||
} else if (!render.canvas.parentNode) {
|
||||
Common.log('Render.create: options.element was undefined, render.canvas was created but not appended', 'warn');
|
||||
}
|
||||
|
||||
return render;
|
||||
|
|
Loading…
Reference in a new issue