Skip to content

Commit 2e2d78f

Browse files
author
Volodymyr Zaets
committed
Merge remote-tracking branch 'origin/MAGETWO-44670' into PR
2 parents 876e1c7 + 5e9f380 commit 2e2d78f

File tree

1 file changed

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

1 file changed

+3
-2
lines changed

app/code/Magento/Ui/view/base/web/js/lib/ko/bind/optgroup.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,8 @@ define([
265265
var value = applyToObject(option, optionsValue, option),
266266
label = applyToObject(option, optionsText, value) || '',
267267
title = applyToObject(option, optionsText, value) || '',
268-
obj = {};
268+
obj = {},
269+
space = '\u2007\u2007\u2007';
269270

270271
obj[optionTitle] = applyToObject(option, optionsText + 'title', value);
271272

@@ -276,7 +277,7 @@ define([
276277
res.push(obj);
277278
res = res.concat(formatOptions(value));
278279
} else {
279-
obj[optionsText] = strPad('  ', nestedOptionsLevel * 2) + label;
280+
obj[optionsText] = strPad(space, nestedOptionsLevel * 2) + label;
280281
obj[optionsValue] = value;
281282
res.push(obj);
282283
}

0 commit comments

Comments
 (0)