diff --git a/index.html b/index.html index 2def4a5..699f574 100644 --- a/index.html +++ b/index.html @@ -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]); });