We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c552eb5 + d695a3d commit 01c872aCopy full SHA for 01c872a
src/IFrameWindow.js
@@ -105,8 +105,7 @@ export class IFrameWindow {
105
106
static notifyParent(url) {
107
Log.debug("IFrameWindow.notifyParent");
108
-
109
- if (window.parent && window !== window.parent) {
+ if (window.frameElement) {
110
url = url || window.location.href;
111
if (url) {
112
Log.debug("IFrameWindow.notifyParent: posting url message to parent");
0 commit comments