diff --git a/src/js/_enqueues/lib/image-edit.js b/src/js/_enqueues/lib/image-edit.js index fc84e777dd..f36f8c8808 100644 --- a/src/js/_enqueues/lib/image-edit.js +++ b/src/js/_enqueues/lib/image-edit.js @@ -1113,6 +1113,10 @@ h = $('#image-preview-' + postid).height(); if ( false === this.validateNumeric( el ) ) { + this.iasapi.setOptions({ + aspectRatio: null + }); + return; }