Theme Customizer: Correctly update background-attachment property in live preview

Props bainternet. Fixes #21732.


git-svn-id: http://core.svn.wordpress.org/trunk@22131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Jon Cave 2012-10-07 14:46:39 +00:00
parent d95a7d06f6
commit 8961dc5d91
1 changed files with 1 additions and 1 deletions

View File

@ -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.