Make sure it works when we have no css transitions
Mark IJbema committed
May 18, 2014 at 11:31 UTC
59616672d72ee97417fd12914d1b936f6d5caf70
1 file changed
+1
-1
src/addons/transitions/ReactCSSTransitionGroupChild.js
+1
-1
@@ -55,7 +55,7 @@ var ReactCSSTransitionGroupChild = React.createClass({
55
var noEventTimeout = null;
56
57
var endListener = function(e) {
58
- if (e.target !== node) {
58
+ if (e && e.target !== node) {
59
return;
60
}
61
if (__DEV__) {