hopefully fix app
This commit is contained in:
parent
3a42af568a
commit
2cedeb7aa4
1 changed files with 3 additions and 3 deletions
|
@ -1389,13 +1389,13 @@ c3nav = {
|
||||||
stroke: 0,
|
stroke: 0,
|
||||||
fillOpacity: 1
|
fillOpacity: 1
|
||||||
}).addTo(layer);
|
}).addTo(layer);
|
||||||
this._button.classList.toggle('control-disabled', false);
|
$('.leaflet-control-user-location a').toggleClass('control-disabled', false);
|
||||||
} else if (c3nav.hasLocationPermission()) {
|
} else if (c3nav.hasLocationPermission()) {
|
||||||
$('.locationinput .locate, .leaflet-control-user-location a').text(c3nav._map_material_icon('location_searching'));
|
$('.locationinput .locate, .leaflet-control-user-location a').text(c3nav._map_material_icon('location_searching'));
|
||||||
this._button.classList.toggle('control-disabled', false);
|
$('.leaflet-control-user-location a').toggleClass('control-disabled', false);
|
||||||
} else {
|
} else {
|
||||||
$('.locationinput .locate, .leaflet-control-user-location a').text(c3nav._map_material_icon('location_disabled'));
|
$('.locationinput .locate, .leaflet-control-user-location a').text(c3nav._map_material_icon('location_disabled'));
|
||||||
this._button.classList.toggle('control-disabled', true);
|
$('.leaflet-control-user-location a').toggleClass('control-disabled', true);
|
||||||
}
|
}
|
||||||
if (mobileclient.isCurrentLocationRequested && mobileclient.isCurrentLocationRequested()) {
|
if (mobileclient.isCurrentLocationRequested && mobileclient.isCurrentLocationRequested()) {
|
||||||
if (location) {
|
if (location) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue