From 459425b2a323e7c2e795f14620bbd94dd8206aef Mon Sep 17 00:00:00 2001 From: liabru Date: Tue, 21 Dec 2021 20:25:26 +0000 Subject: [PATCH] remove render element warning --- src/render/Render.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/render/Render.js b/src/render/Render.js index 9532cd4..ae52040 100644 --- a/src/render/Render.js +++ b/src/render/Render.js @@ -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;