Increase delay before checking if the script has been executed in the iframe.

This commit is contained in:
Nicolas Stepien 2012-02-07 17:48:59 +01:00
parent 302fd10815
commit c7481477e1
2 changed files with 2 additions and 2 deletions

View File

@ -1221,7 +1221,7 @@
}
};
$.on(iframe, 'load', function() {
if (this.src !== 'about:blank') return setTimeout(loadChecking, 250, this);
if (this.src !== 'about:blank') return setTimeout(loadChecking, 500, this);
});
$.add(d.body, iframe);
if (conf['Persistent QR']) {

View File

@ -887,7 +887,7 @@ qr =
unless qr.status.ready
iframe.src = 'about:blank'
setTimeout (-> iframe.src = 'http://sys.4chan.org/favicon.ico'), 250
$.on iframe, 'load', -> unless @src is 'about:blank' then setTimeout loadChecking, 250, @
$.on iframe, 'load', -> unless @src is 'about:blank' then setTimeout loadChecking, 500, @
$.add d.body, iframe
if conf['Persistent QR']