From 8961dc5d910e094d6fe0be4bce3833628fc57a69 Mon Sep 17 00:00:00 2001 From: Jon Cave Date: Sun, 7 Oct 2012 14:46:39 +0000 Subject: [PATCH] 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 --- wp-includes/js/customize-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/js/customize-preview.js b/wp-includes/js/customize-preview.js index 9caa6b684a..caefe653a9 100644 --- a/wp-includes/js/customize-preview.js +++ b/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.