diff --git a/tabs/gps.js b/tabs/gps.js index e4c4834a..447e7a7a 100644 --- a/tabs/gps.js +++ b/tabs/gps.js @@ -78,7 +78,7 @@ TABS.gps.initialize = function (callback) { if (navigator.onLine) { $('#connect').hide(); - if(lat != 0 && lon != 0){ + if(GPS_DATA.fix){ frame.contentWindow.postMessage(message, '*'); $('#loadmap').show(); $('#waiting').hide();