Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}, function() {
if (onError) {
onError(new PositionError(
PositionError.PERMISSION_DENIED,
"No location permission"
));
}
}, "Geolocation", "getPermission", []);
return cbid;
}, function() {
if (onError) {
onError(new PositionError(
PositionError.PERMISSION_DENIED,
"No location permission"
));
}
}, "Geolocation", "getPermission", []);
return cbid;