Better cross-browser support for Custom Background image alignment preview. Props eddieringle. See #12186

git-svn-id: https://develop.svn.wordpress.org/trunk@13799 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dion Hulse
2010-03-22 07:14:14 +00:00
parent 1b219fcd7a
commit 2e11ca383a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ jQuery(document).ready(function() {
pickColor( hex );
});
jQuery('input[name="background-position"]').change(function() {
jQuery('#custom-background-image img').attr('align', jQuery(this).val() );
jQuery('#custom-background-image').css('text-align', jQuery(this).val());
});
farbtastic = jQuery.farbtastic('#colorPickerDiv', function(color) {