mozilla-b2g/gaia — pull request #6907 by lissyx (2012-12-08 19:01:02+00:00)
Title: Fixing geoloc buttons not working with CSP

Using 'onclick' does not work with CSP. Fixing by binding buttons with getElementById & addEventListener('click').