Skip to content

Commit

Permalink
Release v2.2.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Jun 30, 2017
1 parent 7301aa7 commit 55920f9
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v2.2.1 - Fri, 30 Jun 2017 09:21:36 UTC
--------------------------------------




v2.2.0 - Wed, 28 Jun 2017 18:55:23 UTC
--------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
6 changes: 1 addition & 5 deletions dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,6 @@ return /******/ (function(modules) { // webpackBootstrap
}, {
key: 'componentWillUnmount',
value: function componentWillUnmount() {
var _this2 = this;

if (!this.node) return;

var state = this.portal.state;
Expand All @@ -201,9 +199,7 @@ return /******/ (function(modules) { // webpackBootstrap
this.portal.closeWithTimeout();
}

setTimeout(function () {
return _this2.removePortal;
}, closesAt - now);
setTimeout(this.removePortal, closesAt - now);
} else {
this.removePortal();
}
Expand Down
Loading

0 comments on commit 55920f9

Please sign in to comment.