diff --git a/map/gps/gps-chase.js b/map/gps/gps-chase.js index a5a08e2..8f57732 100644 --- a/map/gps/gps-chase.js +++ b/map/gps/gps-chase.js @@ -39,7 +39,7 @@ // if文などで判定して、特定の場所に近づいたら「GOAL!」と // 表示するように変えてみよ。 var x = latlng.lat, y = latlng.lng; - if(x > 38.89130 && x < 38.89420 && y > 139.81784 && y <139.81828){ + if((x > 38.89130 && x < 38.89420) && (y > 139.81784 && y <139.81828)){ document.getElementByID("title").textContent="GOAL!"; stopGPS(); }