summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/util.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/util.js b/js/util.js
index feea13b52..a2212cac2 100644
--- a/js/util.js
+++ b/js/util.js
@@ -484,6 +484,7 @@ var SN = { // StatusNet
});
});
}
+
var NDG = $('#'+SN.C.S.NoticeDataGeo);
if (NDG.length > 0) {
var NLE = $('#notice_data-location_wrap');
@@ -567,6 +568,7 @@ var SN = { // StatusNet
}
else {
removeNoticeDataGeo();
+ $('#'+SN.C.S.NoticeDataGeo).remove();
$('label[for='+SN.C.S.NoticeDataGeo+']').remove();
}
}