summaryrefslogtreecommitdiff
path: root/js/util.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-13 15:48:26 +0000
committerSarven Capadisli <csarven@status.net>2010-01-13 15:48:26 +0000
commit8887d7a314bdbf4e4fc6ca26addf5ce28284d697 (patch)
treefdfe0d7c319b4b9b5531a7365289356e2e869f63 /js/util.js
parent2000d2d36b466615e3867f0002ddeaf793cf666f (diff)
Unchecks location sharing for geo location if it timesout
Diffstat (limited to 'js/util.js')
-rw-r--r--js/util.js3
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
}
);
}