Skip to content

Commit

Permalink
Merge pull request #8 from rexxars/iframe-fix
Browse files Browse the repository at this point in the history
Fix stories not being listed when storybook is iframed
  • Loading branch information
Muhammed Thanish authored Nov 24, 2016
2 parents f40a3f0 + 2a93e7f commit 83991ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class PostmsgTransport {
}
return iframe.contentWindow;
}
return window.top;
return window.parent;
}

_handleEvent(e) {
Expand Down

0 comments on commit 83991ce

Please sign in to comment.