From 8887d7a314bdbf4e4fc6ca26addf5ce28284d697 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Wed, 13 Jan 2010 15:48:26 +0000 Subject: [PATCH] Unchecks location sharing for geo location if it timesout --- js/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } ); } -- 2.39.5