Skip to content

Commit 08bf920

Browse files
galimruclaydiffrient
authored andcommittedDec 15, 2016
[fixed] closeTimeoutMS doesn't work without onRequestClose (#278)
1 parent 6c68e95 commit 08bf920

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

Diff for: ‎lib/components/ModalPortal.js

-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ var ModalPortal = module.exports = React.createClass({
9090
},
9191

9292
close: function() {
93-
if (!this.ownerHandlesClose())
94-
return;
9593
if (this.props.closeTimeoutMS > 0)
9694
this.closeWithTimeout();
9795
else

0 commit comments

Comments
 (0)
Please sign in to comment.