Skip to content

Commit

Permalink
fix const to let
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4tim committed Dec 28, 2024
1 parent cef6588 commit a7367f9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/components/Map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export default {
opengeotip(msg) {
this.closegeotip();
this.geomsg = msg;
this.geomsgopened = true;
Expand All @@ -140,7 +140,6 @@ export default {
getlocalmappos() {
// console.log("Geolocation setting up default values");
const lastsettings = localStorage.getItem("map-position") || JSON.stringify({"lat": config.MAP.position.lat, "lng": config.MAP.position.lng, "zoom": config.MAP.zoom });
const savelocally = true;
let savelocally = true;
/* We don't need to save position loacally if there is set from config */
Expand Down Expand Up @@ -208,7 +207,7 @@ export default {
this.geoavailable = false;
reject("Geolocation is not available");
}
});
},
Expand All @@ -229,7 +228,7 @@ export default {
async loadMap() {
this.geoisloading = false;
this.map = init([this.lat, this.lng], this.zoom, this.theme);
this.relocatemap(this.lat, this.lng, this.zoom, "reload");
Expand Down Expand Up @@ -315,7 +314,7 @@ export default {
this.loadMap();
});
/* - Operate with a map */
},
};
</script>
Expand Down Expand Up @@ -456,8 +455,8 @@ export default {
.popoovergeo-tip:after {
content: "";
width: 0;
height: 0;
width: 0;
height: 0;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
border-top: 10px solid color-mix(in srgb, var(--color-dark) 70%, transparent);
Expand Down

0 comments on commit a7367f9

Please sign in to comment.