js__geolocation/geo1.js

11 lines
212 B
JavaScript

/**
* @file
*
*
* User: marand
* Date: 12/09/14
* Time: 09:49
*/
document.getElementById('geo').innerHTML = navigator.geolocation ?
'Geolocation API is available' :
'Geolocation API is not available';