Skip to content

Commit

Permalink
fixed problem with document is no defined
Browse files Browse the repository at this point in the history
  • Loading branch information
paulohp committed Nov 17, 2016
1 parent 1be21a4 commit 3571f72
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 66 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import HeroFoot from './layout/hero-foot';
import HeroHead from './layout/hero-head';
import HeroBody from './layout/hero-body';

insertCss(css, { prepend: true });
if (document) insertCss(css, { prepend: true });

export {
Button,
Expand Down
Loading

0 comments on commit 3571f72

Please sign in to comment.