diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-13 15:48:26 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-13 15:48:26 +0000 |
commit | 8887d7a314bdbf4e4fc6ca26addf5ce28284d697 (patch) | |
tree | fdfe0d7c319b4b9b5531a7365289356e2e869f63 /js | |
parent | 2000d2d36b466615e3867f0002ddeaf793cf666f (diff) |
Unchecks location sharing for geo location if it timesout
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/util.js b/js/util.js index b56410e62..e269798d8 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 } ); } |