Skip to content

Commit 5d5f1f6

Browse files
author
Jose Pardilla
committed
remove old colorpicker code from admin.js
1 parent 67c394c commit 5d5f1f6

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

js/admin.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -86,18 +86,7 @@ jQuery(function (){
8686
});
8787

8888

89-
/* Color Picker
90-
var $color_inputs = jQuery("input.mfbfw_colorpicker");
91-
$color_inputs.each(function () {
92-
var $input = jQuery(this);
93-
var $pickerId = "#" + jQuery(this).attr("id") + "_picker";
94-
jQuery($pickerId).farbtastic($input);
95-
jQuery($input).click(function () {
96-
jQuery($pickerId).animate({opacity: "toggle", height: "toggle"}, 500)
97-
});
98-
});
99-
*/
100-
89+
// Color Picker
10190
jQuery('.mfbfw_colorpicker').wpColorPicker();
10291

10392
})

0 commit comments

Comments
 (0)