Remove jquery from FrameRenderer.js

This commit is contained in:
Julian Descottes 2018-04-08 13:06:17 +02:00
parent a9cdf98281
commit 57ee8e4365

View File

@ -107,7 +107,7 @@
this.displayWidth = width; this.displayWidth = width;
this.displayHeight = height; this.displayHeight = height;
if (this.displayCanvas) { if (this.displayCanvas) {
$(this.displayCanvas).remove(); this.displayCanvas.parentNode.removeChild(this.displayCanvas);
this.displayCanvas = null; this.displayCanvas = null;
} }
this.createDisplayCanvas_(); this.createDisplayCanvas_();