Skip to content

Commit 939056f

Browse files
authored
Update file-uploader.js
- static code issues fixes
1 parent f15cf5e commit 939056f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Ui/view/base/web/js/form/element/file-uploader.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,8 @@ define([
333333
* @param {Object} data - File data that will be uploaded.
334334
*/
335335
onFilesChoosed: function (event, data) {
336-
// no option exists in file uploader for restricting upload chains to single files; this enforces that policy
336+
// no option exists in file uploader for restricting upload chains to single files
337+
// this enforces that policy
337338
if (!this.isMultipleFiles) {
338339
data.files.splice(1);
339340
}

0 commit comments

Comments
 (0)