diff --git a/frontend/src/pages/places.vue b/frontend/src/pages/places.vue index 89448cd3e..4eb4b3e62 100644 --- a/frontend/src/pages/places.vue +++ b/frontend/src/pages/places.vue @@ -130,11 +130,11 @@ const changed = Math.abs(this.query.lat - pos.lat) > 0.001 || Math.abs(this.query.long - pos.lng) > 0.001; + if(!changed) return; + this.query.lat = pos.lat.toString(); this.query.long = pos.lng.toString(); - if(!changed) return; - this.search(); }, startPos() {