If UA doens't support navigation.geolocation or have JavaScript
enabled, the user should still be able to enable/disable their share location setting per notice.
This commit is contained in:
parent
5103cb670a
commit
e06292c2a2
@ -472,8 +472,6 @@ var SN = { // StatusNet
|
|||||||
var cookieVal = $.cookie(SN.C.S.NoticeLocationCookieName);
|
var cookieVal = $.cookie(SN.C.S.NoticeLocationCookieName);
|
||||||
$('#notice_data-location_enabled').attr('checked',(cookieVal == null || cookieVal == 'true'));
|
$('#notice_data-location_enabled').attr('checked',(cookieVal == null || cookieVal == 'true'));
|
||||||
$('#notice_data-location_enabled').change();
|
$('#notice_data-location_enabled').change();
|
||||||
} else {
|
|
||||||
$('#notice_data-location_enabled_container').remove();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user