From 7847db8784bdd8002f90569a932992fe3dd399a9 Mon Sep 17 00:00:00 2001 From: Christian Date: Fri, 20 Sep 2019 12:02:32 +0200 Subject: [PATCH] Update I.blade.php --- src/admin/views/attributes/I.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/views/attributes/I.blade.php b/src/admin/views/attributes/I.blade.php index bdbe831..7213393 100644 --- a/src/admin/views/attributes/I.blade.php +++ b/src/admin/views/attributes/I.blade.php @@ -151,7 +151,7 @@ function addedFile(file) { loadedImage.dataset.name = file.name; loadedImage.dataset.type = file.type; loadedImage.onload = function () { - if(attribH_{{$attribute_name}} === this.height && attribW_{{$attribute_name}} === this.width) { + if(attribH_{{$attribute_name}} == this.height && attribW_{{$attribute_name}} == this.width) { dropzone_{{$attribute_name}}.processQueue(); } else if (attribH_{{$attribute_name}} === '' && attribW_{{$attribute_name}} === '') {