Commit bd99f90f authored by webchick's avatar webchick

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

parent d8a61c89
...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment