Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return null object if parsing of -pie-background returns no colors or…

… images
  • Loading branch information...
commit 3f4f0005c7bef636def6352b4f03f92a0e7b0214 1 parent 673c731
Jason Johnston authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  sources/BackgroundStyleInfo.js
View
2  sources/BackgroundStyleInfo.js
@@ -232,7 +232,7 @@ PIE.BackgroundStyleInfo = PIE.StyleInfoBase.newStyleInfo( {
} );
}
- return props;
+ return ( props && ( props.color || props.images[0] ) ) ? props : null;
},
/**
Please sign in to comment.
Something went wrong with that request. Please try again.