frameReady.js doesn't inject deps when contentDocument is null - refs BT#20011

pull/4338/head
Angel Fernando Quiroz Campos 4 years ago
parent 3d341a2a60
commit 81753080bb
  1. 5
      main/inc/lib/javascript/jquery.frameready.js

@ -53,6 +53,11 @@ $.frameReady = function (callback, targetSelector, resources, conditional) {
targetDocument = targetWindow.contentDocument;
if (!targetDocument) {
console.log('frameReady: Can\'t access to contentDocument.');
return;
}
scripts.forEach(function (script) {
createScript(script);
});

Loading…
Cancel
Save