In the back of the application, I need to use the geolocation API.
var that = this; if(Modernizr.geolocation){ $(this).addClass("loading"); navigator.geolocation.getCurrentPosition(function(position){ that.handleGeoSuccess(position);
This happens inside the click event. Chrome (25.0.1364.155) asks for permission, but not one of the callbacks starts, either when it accepts or denies geolocation information. Even reusing setTimeout did not work. No callbacks.
I'm completely stuck here and don't know where to look. Any ideas?
btw works in Firefox (19.0) and Safari (6.0.2), the current Chrome Canary behaves the same.
source share