Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dinodsaurus/react-modal i…
Browse files Browse the repository at this point in the history
…nto isomorphic_support
  • Loading branch information
Josh-a-e committed Sep 30, 2015
2 parents 523658c + 4c8ed91 commit 7f775f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/helpers/ariaAppHider.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var _element = document.body;
var _element = typeof document !== 'undefined' ? document.body : null;

function setElement(element) {
if (typeof element === 'string') {
Expand Down Expand Up @@ -39,4 +39,3 @@ exports.setElement = setElement;
exports.show = show;
exports.hide = hide;
exports.resetForTesting = resetForTesting;

0 comments on commit 7f775f8

Please sign in to comment.