Skip to content

Commit f74e7d4

Browse files
author
Robert He
committed
MAGETWO-89659: Address comments / feedback from review
- fix bugs and stylings
1 parent 8f7f5a8 commit f74e7d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/code/Magento/Ui/view/base/web/js/lib/knockout/bindings/color-picker.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ define([
6464

6565
if (tinycolor(config.value()).isValid() || config.value() === '') {
6666
$(element).spectrum('set', config.value());
67+
if (config.value() !== '') {
68+
config.value($(element).spectrum('get').toString());
69+
}
6770
}
6871
}
6972
};

0 commit comments

Comments
 (0)