CoreFiles by mySites.guru
custom-background.js1 lines, 1,090 bytes, from wordpress-3.1.4.zip
Raw History Compare with 3.1.3
md5
f5aa17555ab1dc09cf1ecca75e3e596e
sha1
789efb47cd1bf3bb5adeed578f3bb18dd5fee85d
sha256
73241135d94c5b907addaa7408741846e46c70c1fe1e8bf215718dc040cce2ae
var farbtastic;function pickColor(a){farbtastic.setColor(a);jQuery("#background-color").val(a);jQuery("#custom-background-image").css("background-color",a)}jQuery(document).ready(function(){jQuery("#pickcolor").click(function(){jQuery("#colorPickerDiv").show();return false});jQuery("#background-color").keyup(function(){var b=jQuery("#background-color").val(),a=b;if(a.charAt(0)!="#"){a="#"+a}a=a.replace(/[^#a-fA-F0-9]+/,"");if(a!=b){jQuery("#background-color").val(a)}if(a.length==4||a.length==7){pickColor(a)}});jQuery('input[name="background-position-x"]').change(function(){jQuery("#custom-background-image").css("background-position",jQuery(this).val()+" top")});jQuery('input[name="background-repeat"]').change(function(){jQuery("#custom-background-image").css("background-repeat",jQuery(this).val())});farbtastic=jQuery.farbtastic("#colorPickerDiv",function(a){pickColor(a)});pickColor(jQuery("#background-color").val());jQuery(document).mousedown(function(){jQuery("#colorPickerDiv").each(function(){var a=jQuery(this).css("display");if(a=="block"){jQuery(this).fadeOut(2)}})})});

The same content is in 12 releases, WordPress 3.1-beta1 to 3.1.4. See them all, or every version of this file.