Make images smaller using best-in-class codecs, right in the browser.
JavaScript
Updating linting rules and fixing bug
Jake Archibald765cc213d2d6
diff --git a/src/components/output/custom-els/MultiPanel/index.ts b/src/components/output/custom-els/MultiPanel/index.tsindex 882c327d..95a06dcd 100644--- a/src/components/output/custom-els/MultiPanel/index.ts+++ b/src/components/output/custom-els/MultiPanel/index.ts@@ -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, ignoreif (!heading) return;diff --git a/tslint.json b/tslint.jsonindex 75c31656..e2eeef2c 100644--- a/tslint.json+++ b/tslint.json@@ -11,6 +11,7 @@"function-name": false,"variable-name": [true, "check-format", "allow-leading-underscore"],"no-duplicate-imports": false,+ "prefer-template": [true, "allow-single-concat"],"import-name": false},"linterOptions": {