Moving notice_data-location_wrap after notice form fieldset
This commit is contained in:
parent
dde6415a6a
commit
9496f2735e
@ -439,10 +439,12 @@ var SN = { // StatusNet
|
||||
|
||||
NoticeLocationAttach: function() {
|
||||
if ($('#notice_data-location_enabled').length > 0) {
|
||||
if (navigator.geolocation) {
|
||||
var NLE = $('#notice_data-location_wrap');
|
||||
var geocodeURL = NLE.attr('title');
|
||||
|
||||
NLE.insertAfter('#'+SN.C.S.FormNotice+' fieldset');
|
||||
|
||||
if (navigator.geolocation) {
|
||||
NLE.change(function() {
|
||||
NLE.removeAttr('title');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user