Permalink
Browse files

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
  • Loading branch information...
1 parent d95a7d0 commit 8961dc5d910e094d6fe0be4bce3833628fc57a69 @joncave joncave committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-includes/js/customize-preview.js
@@ -129,7 +129,7 @@
css += 'background-image: url("' + image() + '");';
css += 'background-position: top ' + position_x() + ';';
css += 'background-repeat: ' + repeat() + ';';
- css += 'background-position: top ' + attachment() + ';';
+ css += 'background-attachment: ' + attachment() + ';';
}
// Refresh the stylesheet by removing and recreating it.

0 comments on commit 8961dc5

Please sign in to comment.