1
0
mirror of https://github.com/MatMoul/quickdial-webext.git synced 2024-12-23 15:36:12 +00:00

Update timeout

This commit is contained in:
MatMoul 2017-09-30 01:50:36 +02:00
parent 4b68a80a9b
commit b9fb4adc33

View File

@ -146,7 +146,7 @@ core.SiteInfos.loadInfos = function(url, args, callback){ // args: { icon: false
iframe.style.position = 'absolute'; iframe.style.position = 'absolute';
iframe.style.visibility = 'hidden'; iframe.style.visibility = 'hidden';
var xmlHttp = new XMLHttpRequest(); var xmlHttp = new XMLHttpRequest();
xmlHttp.timeout = 2000 xmlHttp.timeout = 10000
xmlHttp.open('GET', url, true); xmlHttp.open('GET', url, true);
xmlHttp.onload = function(){ xmlHttp.onload = function(){
document.body.appendChild(iframe); document.body.appendChild(iframe);