Skip to content

Commit 48de286

Browse files
authored
Adjusted format to safisfy coding standard
1 parent 5bc035b commit 48de286

File tree

1 file changed

+2
-3
lines changed
  • app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings

1 file changed

+2
-3
lines changed

app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/optgroup.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,9 +302,8 @@ define([
302302
space = '\u2007\u2007\u2007';
303303

304304
obj[optionTitle] = applyToObject(option, optionsText + 'title', value);
305-
306-
if(disabled) {
307-
obj['disabled'] = disabled;
305+
if (disabled) {
306+
obj.disabled = disabled;
308307
}
309308

310309
label = label.replace(nbspRe, '').trim();

0 commit comments

Comments
 (0)