From: Sarven Capadisli Date: Wed, 13 Jan 2010 15:48:26 +0000 (+0000) Subject: Unchecks location sharing for geo location if it timesout X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8887d7a314bdbf4e4fc6ca26addf5ce28284d697;p=quix0rs-gnu-social.git Unchecks location sharing for geo location if it timesout --- diff --git a/js/util.js b/js/util.js index b56410e62f..e269798d89 100644 --- a/js/util.js +++ b/js/util.js @@ -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 } ); }