fixing error in if statement

This commit is contained in:
macdonst 2010-08-28 02:12:43 +08:00 committed by Bryce Curtis
parent b1af7d8739
commit 91f1f475e9

View File

@ -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;
}
/**