Skip to content

Commit a7367f9

Browse files
committed
fix const to let
1 parent cef6588 commit a7367f9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

src/components/Map.vue

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export default {
127127
opengeotip(msg) {
128128
129129
this.closegeotip();
130-
130+
131131
this.geomsg = msg;
132132
this.geomsgopened = true;
133133
@@ -140,7 +140,6 @@ export default {
140140
getlocalmappos() {
141141
// console.log("Geolocation setting up default values");
142142
const lastsettings = localStorage.getItem("map-position") || JSON.stringify({"lat": config.MAP.position.lat, "lng": config.MAP.position.lng, "zoom": config.MAP.zoom });
143-
const savelocally = true;
144143
let savelocally = true;
145144
146145
/* We don't need to save position loacally if there is set from config */
@@ -208,7 +207,7 @@ export default {
208207
this.geoavailable = false;
209208
reject("Geolocation is not available");
210209
}
211-
210+
212211
});
213212
},
214213
@@ -229,7 +228,7 @@ export default {
229228
230229
async loadMap() {
231230
this.geoisloading = false;
232-
231+
233232
this.map = init([this.lat, this.lng], this.zoom, this.theme);
234233
this.relocatemap(this.lat, this.lng, this.zoom, "reload");
235234
@@ -315,7 +314,7 @@ export default {
315314
this.loadMap();
316315
});
317316
/* - Operate with a map */
318-
317+
319318
},
320319
};
321320
</script>
@@ -456,8 +455,8 @@ export default {
456455
457456
.popoovergeo-tip:after {
458457
content: "";
459-
width: 0;
460-
height: 0;
458+
width: 0;
459+
height: 0;
461460
border-left: 10px solid transparent;
462461
border-right: 10px solid transparent;
463462
border-top: 10px solid color-mix(in srgb, var(--color-dark) 70%, transparent);

0 commit comments

Comments
 (0)