From 1f83752a3ebb4843fb0f6a339bab85ce7cbeb24e Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Wed, 24 Jun 2020 00:50:06 -0400 Subject: [PATCH] Fix incorrect world height when not using metric and loading from a permalink --- macrovision.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macrovision.js b/macrovision.js index dd2b5973..5daf30cd 100644 --- a/macrovision.js +++ b/macrovision.js @@ -2747,7 +2747,8 @@ document.addEventListener("DOMContentLoaded", () => { prepareSettings(getUserSettings()); // now that we have this loaded, we can set it - + + document.querySelector("#options-height-unit").setAttribute("oldUnit", defaultUnits.length[config.units]); document.querySelector("#options-height-unit").value = defaultUnits.length[config.units]; // ...and then update the world height by setting off an input event