Ticket #30182: 30182.diff
File 30182.diff, 762 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/js/color-picker.js
15 15 change: false, 16 16 clear: false, 17 17 hide: true, 18 palettes: true 18 palettes: true, 19 width: 255, 20 mode: 'hsv' 19 21 }, 20 22 _create: function() { 21 23 // bail early for unsupported Iris. … … 51 53 el.iris( { 52 54 target: self.pickerContainer, 53 55 hide: self.options.hide, 54 width: 255,55 mode: 'hsv',56 width: self.options.width, 57 mode: self.options.mode, 56 58 palettes: self.options.palettes, 57 59 change: function( event, ui ) { 58 60 self.toggler.css( { backgroundColor: ui.color.toString() } );