Permalink
Browse files

Fix error in BackgroundStyleInfo when no CSS3 present and no backgrou…

…nd-image is specified
  • Loading branch information...
1 parent a03632e commit 2bc0efe354b02b228c5114be30c0fd0504f93f86 Jason Johnston committed Sep 5, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/BackgroundStyleInfo.js
@@ -232,7 +232,7 @@ PIE.BackgroundStyleInfo = PIE.StyleInfoBase.newStyleInfo( {
} );
}
- return ( props && ( props.color || props.images[0] ) ) ? props : null;
+ return ( props && ( props.color || ( props.images && props.images[0] ) ) ) ? props : null;
},
/**

0 comments on commit 2bc0efe

Please sign in to comment.