CoreFiles by mySites.guru
custom-background.min.js1 lines, 900 bytes, from wordpress-4.0.21.zip
Raw History Compare with 4.0.20
md5
82d07f23593e578820b19fc9faad65a0
sha1
d6552df1183b9060bc43c572a3bfc4dc8b33e777
sha256
b371e2d0fa088fff4b47f3a07f051a25bb14dd6b6b7dc91fa845cbddba4404ff
!function(a){a(document).ready(function(){var b,c=a("#custom-background-image");a("#background-color").wpColorPicker({change:function(a,b){c.css("background-color",b.color.toString())},clear:function(){c.css("background-color","")}}),a('input[name="background-position-x"]').change(function(){c.css("background-position",a(this).val()+" top")}),a('input[name="background-repeat"]').change(function(){c.css("background-repeat",a(this).val())}),a("#choose-from-library-link").click(function(c){var d=a(this);return c.preventDefault(),b?void b.open():(b=wp.media.frames.customBackground=wp.media({title:d.data("choose"),library:{type:"image"},button:{text:d.data("update"),close:!1}}),b.on("select",function(){var c=b.state().get("selection").first();a.post(ajaxurl,{action:"set-background-image",attachment_id:c.id,size:"full"}).done(function(){window.location.reload()})}),void b.open())})})}(jQuery);

The same content is in 276 releases, WordPress 3.7.34 to 4.6.19. See them all, or every version of this file.