remove test for if we're allowed to geolocate so that it asks on mobile

This commit is contained in:
David 2017-04-30 19:19:33 -04:00
parent 57a6a3e8b1
commit de2500f1a9

View File

@ -227,9 +227,7 @@
}
})
map.addControl(new mapboxgl.NavigationControl(), 'top-left');
if(navigator.geolocation) {
map.addControl(geolocate, 'top-right');
}
map.addControl(geolocate, 'top-right');
updateViewBySlug(window.location.hash.split("#")[1]);
});