mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 15:47:05 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user