fix ui not loading
This commit is contained in:
parent
30b467005c
commit
aadc1c10d3
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ c3nav = {
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!window.mobileclient && !localStorageWrapper.getItem('hideAppAds') && navigator.userAgent.toLowerCase().indexOf("android") > -1 && c3nav.ssids.length) {
|
if (!window.mobileclient && !localStorageWrapper.getItem('hideAppAds') && navigator.userAgent.toLowerCase().indexOf("android") > -1 && c3nav.ssids) {
|
||||||
$('.app-ads').show();
|
$('.app-ads').show();
|
||||||
$('.app-ads .close').click(function() {
|
$('.app-ads .close').click(function() {
|
||||||
localStorageWrapper.setItem('hideAppAds', true);
|
localStorageWrapper.setItem('hideAppAds', true);
|
||||||
|
@ -1467,7 +1467,7 @@ c3nav = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// setup user location control
|
// setup user location control
|
||||||
if (c3nav.ssids.length) c3nav._userLocationControl = new UserLocationControl().addTo(c3nav.map);
|
if (c3nav.ssids) c3nav._userLocationControl = new UserLocationControl().addTo(c3nav.map);
|
||||||
|
|
||||||
L.control.zoom({
|
L.control.zoom({
|
||||||
position: 'bottomright'
|
position: 'bottomright'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue