diff --git a/resources/static/include.js b/resources/static/include.js index ac8b01f5a962e9bab55547eb51b6dad1b81c7184..8af83437d79a2d1a497b04a93822bda79a3d482f 100644 --- a/resources/static/include.js +++ b/resources/static/include.js @@ -694,7 +694,7 @@ } else if(element.attachEvent) { // IE < 9 - element.attachEvent(name, listener); + element.attachEvent('on' + name, listener); } } @@ -844,7 +844,9 @@ } }; - window.setTimeout(setup_relay_iframe, 0); + // wait for onload + _attach_event(window, 'load', setup_relay_iframe); + //window.setTimeout(setup_relay_iframe, 0); navigator.id._getVerifiedEmailIsShimmed = true; }