Skip to content

Commit

Permalink
Use the element id to select the iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
thani-sh committed Sep 27, 2016
1 parent 22c7c19 commit 5da9188
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@kadira/storybook-addon-actions": "^1.0.2",
"@kadira/storybook-addon-links": "^1.0.0",
"@kadira/storybook-addons": "^1.5.0",
"@kadira/storybook-channel-postmsg": "^1.0.0",
"@kadira/storybook-channel-postmsg": "^1.0.1",
"@kadira/storybook-database-local": "^1.2.1",
"@kadira/storybook-ui": "^3.6.0",
"airbnb-js-shims": "^1.0.1",
Expand Down
1 change: 1 addition & 0 deletions src/client/manager/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const iframeStyle = {

const Preview = ({ url }) => (
<iframe
id="storybook-preview-iframe"
style={iframeStyle}
src={url}
/>
Expand Down

0 comments on commit 5da9188

Please sign in to comment.