Skip to content

Commit

Permalink
Fix geolocation error function binding
Browse files Browse the repository at this point in the history
  • Loading branch information
fredj committed Oct 1, 2018
1 parent 6248d89 commit 4da0464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/geolocation/mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ exports.Controller_ = function($scope, $element,
}
this.notification_.error(msg);
$scope.$emit(exports.GeolocationEventType.ERROR, error);
}, this);
}.bind(this));

/**
* @type {ol.Feature}
Expand Down

0 comments on commit 4da0464

Please sign in to comment.