diff --git a/src/js/maps.js b/src/js/maps.js index 4be70ba6cd..65f794fa19 100644 --- a/src/js/maps.js +++ b/src/js/maps.js @@ -75,14 +75,14 @@ export const MAPS = [ mapURL: "/gorodok/", maxZoomLevel: 4, }, - { - name: "Jensen", - size: 4008, // OK - offset: [0, 0], - scaling: 0.0859, // OK - mapURL: "/jensen/", - maxZoomLevel: 4, - }, + // { + // name: "Jensen", + // size: 4008, // OK + // offset: [0, 0], + // scaling: 0.0859, // OK + // mapURL: "/jensen/", + // maxZoomLevel: 4, + // }, { name: "Harju", size: 4032, // OK diff --git a/src/js/settings.js b/src/js/settings.js index cc452d0a8d..6186508d3e 100644 --- a/src/js/settings.js +++ b/src/js/settings.js @@ -215,8 +215,8 @@ $("#targetAnimationSettings").on("change", function() { App.userSettings.targetAnimation = val; localStorage.setItem("settings-target-animation", +val); - App.minimap.activeTargetsMarkers.eachLayer(function (layer) { - layer.updateIcon(); + App.minimap.activeTargetsMarkers.eachLayer(function (weapon) { + weapon.updateIcon(); }); });