fix 'undefined' class bug on TintableSvg
This commit is contained in:
parent
2d71d4422e
commit
26f135c7b0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ module.exports = React.createClass({
|
|||
|
||||
render: function() {
|
||||
return (
|
||||
<object className={ "mx_TintableSvg " + this.props.className }
|
||||
<object className={ "mx_TintableSvg " + (this.props.className ? this.props.className : "") }
|
||||
type="image/svg+xml"
|
||||
data={ this.props.src }
|
||||
width={ this.props.width }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue