From 91f1f475e9b821232ffee7c67b29cab379a5cdfa Mon Sep 17 00:00:00 2001 From: macdonst Date: Sat, 28 Aug 2010 02:12:43 +0800 Subject: [PATCH] fixing error in if statement --- framework/assets/js/position.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/assets/js/position.js b/framework/assets/js/position.js index 3371658a..31df3232 100644 --- a/framework/assets/js/position.js +++ b/framework/assets/js/position.js @@ -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; } /**