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:
parent
0b6454bac5
commit
0c101e8cf6
@ -1655,7 +1655,7 @@
|
||||
control.setting.set( picker.wpColorPicker('color') );
|
||||
},
|
||||
clear: function() {
|
||||
control.setting.set( false );
|
||||
control.setting.set( '' );
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user