diff --git a/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js b/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js index 047e2cbae666b..ee2d9decdb0bb 100644 --- a/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js +++ b/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js @@ -161,7 +161,7 @@ define([ }, /** - * Update image data + * Update image data when image preview is opened */ updateImageData: function () { var img = $(this.previewImageSelector + ' img'); @@ -184,9 +184,9 @@ define([ }, /** - * Update displayed record + * Update opened image preview contents when the data provider is updated * - * @param items + * @param {Array} items */ updateDisplayedRecord: function (items) { if (!_.isNull(this.visibleRecord())) {