WordPress/wp-admin/js/custom-background.min.js
Bot (Assets) 8c36f67e11 Compress scripts/styles: 3.5-alpha-22071.
git-svn-id: http://core.svn.wordpress.org/trunk@22071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 19:21:47 +00:00

1 line
453 B
JavaScript

(function(a){a(document).ready(function(){var b=a("#custom-background-image");a("#background-color").wpColorPicker({change:function(c,d){b.css("background-color",d.color.toString())},clear:function(){b.css("background-color","")}});a('input[name="background-position-x"]').change(function(){b.css("background-position",a(this).val()+" top")});a('input[name="background-repeat"]').change(function(){b.css("background-repeat",a(this).val())})})})(jQuery);