Skip to content

Commit

Permalink
oembed iframe: return null as it was before refactoring when no src i…
Browse files Browse the repository at this point in the history
…n Iframe
  • Loading branch information
iparamonau committed Oct 2, 2024
1 parent bab08d0 commit dcaab2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plugins/system/oembed/oembed.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function _getOembedIframe(oembed) {
_iframe = null;
}

oembed._iframe = {..._iframe};
oembed._iframe = _iframe ? {..._iframe} : null;
}

return oembed._iframe;
Expand Down

0 comments on commit dcaab2f

Please sign in to comment.