From ae43f0c48bf7acede8a325b24197001fe2b2f416 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 29 Mar 2023 20:49:30 +0300 Subject: Tweak and re-organize ESLint config (#38369) * Tweak and re-organize ESLint config * merge individual configs to the root config * enable more eslint-plugin-import rules * lint markdown files * Lint --- js/src/dom/event-handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/dom') diff --git a/js/src/dom/event-handler.js b/js/src/dom/event-handler.js index 97cf3041e..561d8751d 100644 --- a/js/src/dom/event-handler.js +++ b/js/src/dom/event-handler.js @@ -128,7 +128,7 @@ function findHandler(events, callable, delegationSelector = null) { function normalizeParameters(originalTypeEvent, handler, delegationFunction) { const isDelegated = typeof handler === 'string' - // todo: tooltip passes `false` instead of selector, so we need to check + // TODO: tooltip passes `false` instead of selector, so we need to check const callable = isDelegated ? delegationFunction : (handler || delegationFunction) let typeEvent = getTypeEvent(originalTypeEvent) -- cgit v1.2.3