diff --git a/resources/static/common/js/provisioning.js b/resources/static/common/js/provisioning.js index c440c4dfc6da0236a9f99c1b75e6c8882afddcb9..5032562641df1919ddf0224eeae0cac0a01e633b 100644 --- a/resources/static/common/js/provisioning.js +++ b/resources/static/common/js/provisioning.js @@ -53,6 +53,10 @@ BrowserID.Provisioning = (function() { iframe.setAttribute('src', args.url); iframe.style.display = "none"; + // start the timeout once the iframe loads, so we don't get false + // positives if the user is on a slow connection. + // the timeout should only happen if the provisioning site doesn't + // want to provision for us. function iframeOnLoad() { if (timeoutID) { clearTimeout(timeoutID);