Theme Customizer: Correctly update background-attachment property in live preview
Props bainternet. Fixes #21732. git-svn-id: https://develop.svn.wordpress.org/trunk@22131 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9036d1e57b
commit
453747f8f8
|
@ -129,7 +129,7 @@
|
||||||
css += 'background-image: url("' + image() + '");';
|
css += 'background-image: url("' + image() + '");';
|
||||||
css += 'background-position: top ' + position_x() + ';';
|
css += 'background-position: top ' + position_x() + ';';
|
||||||
css += 'background-repeat: ' + repeat() + ';';
|
css += 'background-repeat: ' + repeat() + ';';
|
||||||
css += 'background-position: top ' + attachment() + ';';
|
css += 'background-attachment: ' + attachment() + ';';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Refresh the stylesheet by removing and recreating it.
|
// Refresh the stylesheet by removing and recreating it.
|
||||||
|
|
Loading…
Reference in New Issue