mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03: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
@ -59,7 +59,6 @@ const PortalFrame: React.FC<PortalFrameProps> = ({href, onDestroyed, selectedTab
|
||||
src={href}
|
||||
title="Portal Preview"
|
||||
width="100%"
|
||||
onLoad={makeVisible}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user