forked from github/cordova-android
fixing error in if statement
This commit is contained in:
parent
b1af7d8739
commit
91f1f475e9
@ -42,7 +42,7 @@ function Coordinates(lat, lng, alt, acc, head, vel, altacc) {
|
||||
/**
|
||||
* The altitude accuracy of the position.
|
||||
*/
|
||||
this.altitudeAccuracy = (altacc == "undefined") ? altacc : null;
|
||||
this.altitudeAccuracy = (altacc != 'undefined') ? altacc : null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user