Fix image preview not resized correctly in the mediatag dialog

This commit is contained in:
yflory
2018-09-04 10:50:34 +02:00
parent ab07554d0b
commit 2f3576f90e
2 changed files with 1 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ CKEDITOR.dialog.add('mediatag', function (editor) {
update();
});
setTimeout(center);
setTimeout(update);
},
onOk: function() {
var dialog = this;