From a4ecf4b080cf11512fdbe98a206c2ceece8758f0 Mon Sep 17 00:00:00 2001 From: Ian Stewart Date: Fri, 7 Nov 2014 21:10:10 +0000 Subject: [PATCH] Twenty Fifteen: updates to customize-preview.js missed in r30274. Props celloexpressions, See #29988. git-svn-id: https://develop.svn.wordpress.org/trunk@30275 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyfifteen/js/customize-preview.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/wp-content/themes/twentyfifteen/js/customize-preview.js b/src/wp-content/themes/twentyfifteen/js/customize-preview.js index 7bfbf5d6bc..bce815f1c3 100644 --- a/src/wp-content/themes/twentyfifteen/js/customize-preview.js +++ b/src/wp-content/themes/twentyfifteen/js/customize-preview.js @@ -3,15 +3,30 @@ */ ( function( $ ) { + var $style = $( '#twentyfifteen-color-scheme-css' ); + + if ( ! $style.length ) { + $style = $( 'head' ).append( '