summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/util.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/util.js b/js/util.js
index 0334a41ab..feea13b52 100644
--- a/js/util.js
+++ b/js/util.js
@@ -565,11 +565,13 @@ var SN = { // StatusNet
getJSONgeocodeURL(geocodeURL, data);
}
+ else {
+ removeNoticeDataGeo();
+ $('label[for='+SN.C.S.NoticeDataGeo+']').remove();
+ }
}
}
else {
- $('label[for='+SN.C.S.NoticeDataGeo+']').removeClass('checked');
-
removeNoticeDataGeo();
}
}).change();