Sfoglia il codice sorgente

Fix "None" in the selection box causing an error

master
Fen Dweller 6 anni fa
parent
commit
a776f94ad6
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Vedi File

@@ -1454,7 +1454,7 @@ document.addEventListener("DOMContentLoaded", () => {

window.addEventListener("unload", () => saveScene("autosave"));
document.querySelector("#options-selected-entity").addEventListener("input", e => {
if (e.target.value == "none") {
if (e.target.value == "None") {
deselect()
} else {
select(document.querySelector("#entity-" + e.target.value));


Loading…
Annulla
Salva