mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-14 01:37:26 +00:00
Updating linting rules and fixing bug
This commit is contained in:
@@ -43,7 +43,7 @@ export default class MultiPanel extends HTMLElement {
|
||||
private _onKeyDown(event: KeyboardEvent) {
|
||||
const selectedEl = document.activeElement;
|
||||
const heading = getClosestHeading(selectedEl);
|
||||
|
||||
|
||||
// if keydown event is not on heading element, ignore
|
||||
if (!heading) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user