Skip to content

Commit

Permalink
Release v3.1.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Dec 4, 2017
1 parent 22e8b23 commit 33e1fe1
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
v3.1.7 - Mon, 04 Dec 2017 14:22:29 UTC
--------------------------------------

- [22e8b23](../../commit/22e8b23) [fixed] ignore .babelrc when publishing to npm.
- [5693a40](../../commit/5693a40) [chore] typo on word (#574)


v3.1.6 - Thu, 30 Nov 2017 10:24:00 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": "3.1.6",
"version": "3.1.7",
"homepage": "https://github.com/reactjs/react-modal",
"authors": [
"Ryan Florence",
Expand Down
2 changes: 1 addition & 1 deletion dist/react-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ function setElement(element) {

function validateElement(appElement) {
if (!appElement && !globalElement) {
(0, _warning2.default)(false, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen reades don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" "));
(0, _warning2.default)(false, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" "));

return false;
}
Expand Down
Loading

0 comments on commit 33e1fe1

Please sign in to comment.