Merge pull request #1632 from spicyj/img-load-error

Fix onLoad and onError on images
This commit is contained in:
Pete Hunt committed 2014-05-30 17:04:41 -07:00
commit 87bcbff218
1 file changed
+2 -2
+2 -2
View File
@@ -44,8 +44,8 @@ var ReactDOMImg = ReactCompositeComponent.createClass({
},
componentDidMount: function() {
this.trapBubbledEvent(EventConstants.topLevelTypes.topReset, 'load');
this.trapBubbledEvent(EventConstants.topLevelTypes.topSubmit, 'error');
this.trapBubbledEvent(EventConstants.topLevelTypes.topLoad, 'load');
this.trapBubbledEvent(EventConstants.topLevelTypes.topError, 'error');
}
});