Merge pull request #11017 from fredj/geoloc_stop_tracking

Don't stop geolocation tracking on error
This commit is contained in:
Frédéric Junod
2020-05-07 15:07:25 +02:00
committed by GitHub
2 changed files with 14 additions and 1 deletions

View File

@@ -213,7 +213,6 @@ class Geolocation extends BaseObject {
* @param {PositionError} error error object.
*/
positionError_(error) {
this.setTracking(false);
this.dispatchEvent(new GeolocationError(error));
}