diff options
Diffstat (limited to 'src/MenuItem.mjs')
-rw-r--r-- | src/MenuItem.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MenuItem.mjs b/src/MenuItem.mjs index 9830bf4..f4cd518 100644 --- a/src/MenuItem.mjs +++ b/src/MenuItem.mjs | |||
@@ -150,7 +150,7 @@ export class Suggestion { | |||
150 | } | 150 | } |
151 | option.classList.add('container__suggestion'); | 151 | option.classList.add('container__suggestion'); |
152 | option.onmouseover = () => { | 152 | option.onmouseover = () => { |
153 | Array.from(option.parentElement?.children ?? []).forEach(s => | 153 | Array.from(option.parentElement?.children)?.forEach(s => |
154 | s.classList.remove('focus'), | 154 | s.classList.remove('focus'), |
155 | ); | 155 | ); |
156 | option.classList.add('focus'); | 156 | option.classList.add('focus'); |