Skip to content

Commit

Permalink
Removed onLoad from iFrame element (TryGhost#19522)
Browse files Browse the repository at this point in the history
no issue

- removed the onLoad function from the iFrame element and only rely on
the listener waiting for 'portal-ready' before showing Portal
  • Loading branch information
ronaldlangeveld authored Jan 18, 2024
1 parent 0c5cdbf commit 3e67544
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ const PortalFrame: React.FC<PortalFrameProps> = ({href, onDestroyed, selectedTab
src={href}
title="Portal Preview"
width="100%"
onLoad={makeVisible}
/>
</>
);
Expand Down

0 comments on commit 3e67544

Please sign in to comment.