From bd6f2c037ea1d051c53b141277f67f6e18e572fb Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 5 Jan 2017 14:27:40 +0100 Subject: [PATCH] assign the cors iframe an id --- customize.dist/share/frame.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/customize.dist/share/frame.js b/customize.dist/share/frame.js index 86147ca4b..d3d4fb00d 100644 --- a/customize.dist/share/frame.js +++ b/customize.dist/share/frame.js @@ -18,12 +18,13 @@ onload('[timeoutError] could not load iframe at ' + src); }, timeout); + iframe.setAttribute('id', 'cors-store'); + iframe.onload = function (e) { onload(void 0, iframe, e); window.clearTimeout(to); }; iframe.setAttribute('src', src); - iframe.style.display = 'none'; parent.appendChild(iframe); };