forked from GNUsocial/gnu-social
Remove input geo data as well
This commit is contained in:
parent
9fadfd850e
commit
db1a7d6f88
@ -484,6 +484,7 @@ var SN = { // StatusNet
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
var NDG = $('#'+SN.C.S.NoticeDataGeo);
|
var NDG = $('#'+SN.C.S.NoticeDataGeo);
|
||||||
if (NDG.length > 0) {
|
if (NDG.length > 0) {
|
||||||
var NLE = $('#notice_data-location_wrap');
|
var NLE = $('#notice_data-location_wrap');
|
||||||
@ -567,6 +568,7 @@ var SN = { // StatusNet
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
removeNoticeDataGeo();
|
removeNoticeDataGeo();
|
||||||
|
$('#'+SN.C.S.NoticeDataGeo).remove();
|
||||||
$('label[for='+SN.C.S.NoticeDataGeo+']').remove();
|
$('label[for='+SN.C.S.NoticeDataGeo+']').remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user