diveintomark / diveintohtml5

Dive Into HTML5 online book
https://diveintohtml5.info/
Other
777 stars 187 forks source link

Broken link in Geolocation page #36

Closed scheedalla closed 12 years ago

scheedalla commented 12 years ago

http://diveintohtml5.info/geolocation.html

While trying to understand how geolocation works, I got an error on page load saying the param sensor is not set correctly. I took a look at the source code and noticed a typo pasted below:

<script src="http://maps.googleapis.com/maps/api/js?sensor=""true"></script>

It should be:

<script src="http://maps.googleapis.com/maps/api/js?sensor="true"></script>

estebanav commented 12 years ago

My pull requests should fixt this...

https://github.com/diveintomark/diveintohtml5/pull/35

Plus, it replaces http protocol by //.

Let's Paul approved the merge :)

jonathantneal commented 12 years ago

Thanks @estebanav.