Skip to content

Commit

Permalink
release v1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
claydiffrient committed Mar 14, 2017
1 parent e1df119 commit 02a16ce
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
v1.7.3 - Tue, 14 Mar 2017 01:22:00 GMT
--------------------------------------

- [e1df119](../../commit/e1df119) [fixed] remove portal context in timeout (#353)


v1.7.2 - Thu, 09 Mar 2017 03:59:52 GMT
--------------------------------------

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": "1.7.2",
"version": "1.7.3",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
3 changes: 2 additions & 1 deletion dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ return /******/ (function(modules) { // webpackBootstrap
this.portal.closeWithTimeout();
}

var that = this;
setTimeout(function () {
this.removePortal();
that.removePortal();
}, closesAt - now);
} else {
this.removePortal();
Expand Down
2 changes: 1 addition & 1 deletion dist/react-modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-modal",
"version": "1.7.2",
"version": "1.7.3",
"description": "Accessible modal dialog component for React.JS",
"main": "./lib/index.js",
"repository": {
Expand Down

0 comments on commit 02a16ce

Please sign in to comment.