From: Sarven Capadisli Date: Tue, 5 Jan 2010 00:37:53 +0000 (+0000) Subject: Remove input geo data as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=db1a7d6f8883b5a37803b656c10305f082fdf270;p=quix0rs-gnu-social.git Remove input geo data as well --- diff --git a/js/util.js b/js/util.js index feea13b52c..a2212cac2d 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(); } }