mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Fix shortcuts in supervisor search (#15269)
This commit is contained in:
parent
3af808ffa9
commit
8642478e8a
@ -144,11 +144,14 @@ export default <T extends Constructor<HassElement>>(superClass: T) =>
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(el instanceof HTMLInputElement)) {
|
||||
if (
|
||||
(el as Element).tagName !== "INPUT" &&
|
||||
!(el instanceof HTMLInputElement)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
|
||||
switch (el.type) {
|
||||
switch ((el as HTMLInputElement).type) {
|
||||
case "button":
|
||||
case "checkbox":
|
||||
case "hidden":
|
||||
|
Loading…
x
Reference in New Issue
Block a user