mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-31 14:10:28 +00:00
Rename mp6_color_scheme JS global to wp_color_scheme.
props kovshenin. see #26263. git-svn-id: https://develop.svn.wordpress.org/trunk@26406 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* global mp6_color_scheme:true */
|
||||
/* global wp_color_scheme:true */
|
||||
var svgPainter = ( function( $, window, document, undefined ) {
|
||||
|
||||
'use strict';
|
||||
@@ -30,8 +30,8 @@ var svgPainter = ( function( $, window, document, undefined ) {
|
||||
|
||||
setColors : function( colors ) {
|
||||
|
||||
if ( typeof colors === 'undefined' && typeof mp6_color_scheme !== 'undefined' ) {
|
||||
colors = mp6_color_scheme;
|
||||
if ( typeof colors === 'undefined' && typeof wp_color_scheme !== 'undefined' ) {
|
||||
colors = wp_color_scheme;
|
||||
}
|
||||
|
||||
this.colorscheme = colors;
|
||||
|
||||
Reference in New Issue
Block a user