From 2a93e7f7582d398f0035b1dd5efcba9e2cb7a47b Mon Sep 17 00:00:00 2001 From: Espen Hovlandsdal Date: Tue, 22 Nov 2016 18:48:00 +0100 Subject: [PATCH] Fix stories not being listed when storybook is iframed --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 5a6785bc80fa..0bb347bae9f8 100644 --- a/src/index.js +++ b/src/index.js @@ -57,7 +57,7 @@ export class PostmsgTransport { } return iframe.contentWindow; } - return window.top; + return window.parent; } _handleEvent(e) {