Don't hide all hardware when webserial unsupported (#3252)
This commit is contained in:
parent
8c79e6ca17
commit
c06eb6f4fe
|
@ -724,14 +724,5 @@
|
||||||
}
|
}
|
||||||
// show unsupported note
|
// show unsupported note
|
||||||
document.querySelector(".unsupported").classList.remove("hidden");
|
document.querySelector(".unsupported").classList.remove("hidden");
|
||||||
// disable all radio
|
|
||||||
document
|
|
||||||
.querySelectorAll('input[name="type"]')
|
|
||||||
.forEach((radio) => radio.setAttribute("disabled", "disabled"));
|
|
||||||
// Hide all types
|
|
||||||
document.querySelectorAll(".type").forEach((info) => {
|
|
||||||
info.classList.add("hidden");
|
|
||||||
});
|
|
||||||
document.querySelector(".installer-footer").classList.add("hidden");
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue