mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-15 01:31:35 +01:00
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
|
||||
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>
|
||||
|
Loading…
Reference in New Issue
Block a user