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:
Andrew Nacin 2013-12-05 06:30:56 +00:00
parent 3b9ec0a887
commit 721ffcbb07
1 changed files with 1 additions and 1 deletions

View File

@ -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;