diff --git a/src/js/_enqueues/lib/image-edit.js b/src/js/_enqueues/lib/image-edit.js index 8e3a8657da..340966df6d 100644 --- a/src/js/_enqueues/lib/image-edit.js +++ b/src/js/_enqueues/lib/image-edit.js @@ -1007,6 +1007,10 @@ sel.fh = h; this.addStep({ 'c': sel }, postid, nonce); } + + // Clear the selection fields after cropping. + $('#imgedit-sel-width-' + postid).val(''); + $('#imgedit-sel-height-' + postid).val(''); }, /**