From 4b1dbd0366d0875ba405177dda25919c60371652 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 9 Nov 2017 17:14:12 +0100 Subject: [PATCH] Fix #26 --- Models/Editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Models/Editor.js b/Models/Editor.js index e54c3c6..f17e7e3 100644 --- a/Models/Editor.js +++ b/Models/Editor.js @@ -112,6 +112,7 @@ self = this; if(img !== null && typeof img !== 'undefined' && img.length > 0) { + /** global: Image */ let imgObj = new Image(); imgObj.addEventListener('load', function() {