Skip to content
Snippets Groups Projects
Commit bd99f90f authored by Angie Byron's avatar Angie Byron
Browse files

Issue #1428534 follow-up by droplet: Fix overlay.

parent d8a61c89
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -266,7 +266,7 @@ Drupal.overlay.loadChild = function (event) { ...@@ -266,7 +266,7 @@ Drupal.overlay.loadChild = function (event) {
var iframe = event.data.self; var iframe = event.data.self;
var iframeDocument = iframe.contentDocument || iframe.contentWindow.document; var iframeDocument = iframe.contentDocument || iframe.contentWindow.document;
var iframeWindow = iframeDocument.defaultView || iframeDocument.parentWindow; var iframeWindow = iframeDocument.defaultView || iframeDocument.parentWindow;
if (iframeWindow.location === 'about:blank') { if (iframeWindow.location.href === 'about:blank') {
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment