public/src/js/feed.js
// hide button if geolocation is not in navigator
hide button if geolocation is not in navigator
hide button if geolocation is not in navigator
function initLocation() {
  if (!('geolocation' in navigator)) {
    locationBtn.style.display = 'none';
  }
}
function initLocation ( ) { if ( ! ( 'geolocation' in navigator ) ) { locationBtn . style . display = 'none' ; } }
hide button if geolocation is not in navigator
hide button if geolocation is not in navigator