Explorar el Código

Fix "None" in the selection box causing an error

master
Fen Dweller hace 6 años
padre
commit
a776f94ad6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      macrovision.js

+ 1
- 1
macrovision.js Ver fichero

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


Cargando…
Cancelar
Guardar