mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-27 03:27:46 +01:00
8c36f67e11
git-svn-id: http://core.svn.wordpress.org/trunk@22071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 line
453 B
JavaScript
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); |