Skip to content

Commit 1d6a279

Browse files
authored
Remove extra parens
1 parent 5a95c20 commit 1d6a279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/product-gallery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ define([
211211

212212
position = count + 1;
213213

214-
if (lastElement && (lastElement.length === 1)) {
214+
if (lastElement && lastElement.length === 1) {
215215
position = parseInt(lastElement.data('imageData').position || count, 10) + 1;
216216
}
217217
imageData = $.extend({

0 commit comments

Comments
 (0)