diff --git a/app/elements/kano-workspace-camera/kano-workspace-camera.html b/app/elements/kano-workspace-camera/kano-workspace-camera.html index da29d3818..5b9a0428c 100644 --- a/app/elements/kano-workspace-camera/kano-workspace-camera.html +++ b/app/elements/kano-workspace-camera/kano-workspace-camera.html @@ -213,7 +213,7 @@ this._stopWebcam(); }, renderBlank () { - ctx = this.$.canvas.getContext('2d'); + let ctx = this.$.canvas.getContext('2d'); ctx.fillStyle = '#ffffff'; ctx.clearRect(0, 0, this.$.canvas.width, this.$.canvas.height); },