Increase delay before checking if the script has been executed in the iframe.
This commit is contained in:
parent
302fd10815
commit
c7481477e1
@ -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']) {
|
||||
|
||||
@ -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']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user