Unchecks location sharing for geo location if it timesout
This commit is contained in:
parent
2000d2d36b
commit
8887d7a314
|
@ -638,12 +638,13 @@ var SN = { // StatusNet
|
|||
break;
|
||||
case error.TIMEOUT:
|
||||
$('#'+SN.C.S.NoticeGeoName).text(NoticeDataGeo_text.ErrorTimeout).removeClass('processing');
|
||||
$('#'+SN.C.S.NoticeDataGeo).attr('checked', false);
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
timeout: 10000
|
||||
timeout: 10
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user