diff options
author | Sarven Capadisli <csarven@status.net> | 2010-01-05 00:37:53 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-01-05 00:37:53 +0000 |
commit | db1a7d6f8883b5a37803b656c10305f082fdf270 (patch) | |
tree | 6248b9bdfb83864ace46b14e7f88b69cf88f2e1c /js | |
parent | 9fadfd850e3713e15ea9bf1a097aef4a42b2c1f7 (diff) |
Remove input geo data as well
Diffstat (limited to 'js')
-rw-r--r-- | js/util.js | 2 |
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(); } } |