mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Removed onLoad from iFrame element (#19522)
no issue - removed the onLoad function from the iFrame element and only rely on the listener waiting for 'portal-ready' before showing Portal
This commit is contained in:
parent
0c5cdbf4d2
commit
3e67544331
1 changed files with 0 additions and 1 deletions
|
@ -59,7 +59,6 @@ const PortalFrame: React.FC<PortalFrameProps> = ({href, onDestroyed, selectedTab
|
||||||
src={href}
|
src={href}
|
||||||
title="Portal Preview"
|
title="Portal Preview"
|
||||||
width="100%"
|
width="100%"
|
||||||
onLoad={makeVisible}
|
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue