PluginProbe
Social Share Buttons / 1.5
Social Share Buttons v1.5
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | js/network-editor.js +6 -1 1.21.5 View file →
@@ -34,11 +34,16 @@
34 34 }
35 35
36 36 mbsEditor.prototype.doColorPicker = function()
37 37 {
38 + colorPalette = (mbpro_options.colorPalette !== '' ? mbpro_options.colorPalette : true);
39 +
38 40 // colors
39 41 $('.maxbuttons-social .network_editor .color-field').wpColorPicker(
40 - { change: $.proxy( _.throttle(function(event, ui) {
42 + {
43 + width: 300,
44 + palettes: colorPalette,
45 + change: $.proxy( _.throttle(function(event, ui) {
41 46 event.preventDefault();
42 47 var target = $(event.target);
43 48 var color = ui.color.toString();
44 49