diff --git a/index.html b/index.html
index ef4d1660..8eb8d2c2 100644
--- a/index.html
+++ b/index.html
@@ -1529,7 +1529,9 @@
|
-
+
|
|
-
+
|
Year and era |
@@ -8046,7 +8048,7 @@
-
+
diff --git a/modules/ui/general.js b/modules/ui/general.js
index 7fd7e4d5..3530a442 100644
--- a/modules/ui/general.js
+++ b/modules/ui/general.js
@@ -429,17 +429,19 @@ function highlightEmblemElement(type, el) {
// assign lock behavior
document.querySelectorAll("[data-locked]").forEach(function (e) {
- e.addEventListener("mouseover", function (event) {
+ e.addEventListener("mouseover", e => {
+ e.stopPropagation();
if (this.className === "icon-lock")
tip("Click to unlock the option and allow it to be randomized on new map generation");
else tip("Click to lock the option and always use the current value on new map generation");
- event.stopPropagation();
});
e.addEventListener("click", function () {
- const id = this.id.slice(5);
- if (this.className === "icon-lock") unlock(id);
- else lock(id);
+ 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));
});
});
diff --git a/versioning.js b/versioning.js
index 403ae70c..ac005116 100644
--- a/versioning.js
+++ b/versioning.js
@@ -12,7 +12,7 @@
*
* Example: 1.102.0 -> Major version 1, Minor version 102, Patch version 0
*/
-const VERSION = "1.101.01";
+const VERSION = "1.101.02";
{
document.title += " v" + VERSION;
|