Procházet zdrojové kódy

Fix "None" in the selection box causing an error

master
Fen Dweller před 6 roky
rodič
revize
a776f94ad6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Zobrazit soubor

@@ -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));


Načítá se…
Zrušit
Uložit