Fix svg-painter in Chrome. see #26333.
git-svn-id: https://develop.svn.wordpress.org/trunk@26663 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3b9ec0a887
commit
721ffcbb07
@ -170,7 +170,7 @@ var svgPainter = ( function( $, window, document, undefined ) {
|
||||
xml = $element.data( 'wp-ui-svg-' + color );
|
||||
|
||||
if ( ! xml ) {
|
||||
encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,(.+?)['"] ?\)/ );
|
||||
encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,(.+?)['"]? ?\)/ );
|
||||
|
||||
if ( ! encoded || ! encoded[1] ) {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user