You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Fixed geolocation bug and improved saving of notes and folders
This commit is contained in:
@ -16,11 +16,6 @@ class GeolocationReact {
|
||||
}
|
||||
|
||||
static currentPosition(options = null) {
|
||||
if (typeof navigator === 'undefined') {
|
||||
// TODO
|
||||
return Promise.resolve(this.currentPosition_testResponse());
|
||||
}
|
||||
|
||||
if (!options) options = {};
|
||||
if (!('enableHighAccuracy' in options)) options.enableHighAccuracy = true;
|
||||
if (!('timeout' in options)) options.timeout = 10000;
|
||||
|
Reference in New Issue
Block a user