diff --git a/index.html b/index.html
index faadb438..4bc61652 100644
--- a/index.html
+++ b/index.html
@@ -8081,7 +8081,7 @@
-
+
diff --git a/modules/ui/general.js b/modules/ui/general.js
index 9e62ef9a..80328b7e 100644
--- a/modules/ui/general.js
+++ b/modules/ui/general.js
@@ -288,7 +288,6 @@ function updateCellInfo(point, i, g) {
}
function getGeozone(latitude) {
-
if (latitude > 66.5) return "Arctic";
if (latitude > 35) return "Temperate North";
if (latitude > 23.5) return "Subtropical North";
@@ -443,7 +442,7 @@ function highlightEmblemElement(type, el) {
// assign lock behavior
document.querySelectorAll("[data-locked]").forEach(function (e) {
- e.addEventListener("mouseover", e => {
+ e.addEventListener("mouseover", function (e) {
e.stopPropagation();
if (this.className === "icon-lock")
tip("Click to unlock the option and allow it to be randomized on new map generation");
@@ -451,11 +450,9 @@ document.querySelectorAll("[data-locked]").forEach(function (e) {
});
e.addEventListener("click", function () {
+ const ids = this.dataset.ids ? this.dataset.ids.split(",") : [this.id.slice(5)];
const fn = this.className === "icon-lock" ? unlock : lock;
- const ids = this.dataset.ids.split(",");
-
- if (ids.length) ids.forEach(fn);
- else fn(this.id.slice(5));
+ ids.forEach(fn);
});
});
diff --git a/versioning.js b/versioning.js
index 43abf4b5..6f8bf5f7 100644
--- a/versioning.js
+++ b/versioning.js
@@ -12,7 +12,7 @@
*
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.103.4";
+const VERSION = "1.103.5";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{