mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:09:30 +08:00
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…
Reference in New Issue
Block a user