Customize: Fix clearing of a color control's setting by using proper empty value.

Props stevehenty.
Fixes #30280.



git-svn-id: https://develop.svn.wordpress.org/trunk@33938 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2015-09-07 05:47:17 +00:00
parent 0b6454bac5
commit 0c101e8cf6

View File

@ -1655,7 +1655,7 @@
control.setting.set( picker.wpColorPicker('color') );
},
clear: function() {
control.setting.set( false );
control.setting.set( '' );
}
});