mirror of
https://github.com/Karaka-Management/oms-Draw.git
synced 2026-02-14 14:18:41 +00:00
Fix #26
This commit is contained in:
parent
36c982139b
commit
4b1dbd0366
|
|
@ -112,6 +112,7 @@
|
||||||
self = this;
|
self = this;
|
||||||
|
|
||||||
if(img !== null && typeof img !== 'undefined' && img.length > 0) {
|
if(img !== null && typeof img !== 'undefined' && img.length > 0) {
|
||||||
|
/** global: Image */
|
||||||
let imgObj = new Image();
|
let imgObj = new Image();
|
||||||
|
|
||||||
imgObj.addEventListener('load', function() {
|
imgObj.addEventListener('load', function() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user