Skip to content

Commit

Permalink
Merge pull request #70 from dinodsaurus/master
Browse files Browse the repository at this point in the history
added suport for isomorphic rendering
  • Loading branch information
mzabriskie committed Oct 2, 2015
2 parents ae68cc1 + 4c8ed91 commit 920d421
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 920d421

Please sign in to comment.