From f6860a7d612e4db8b17e50481b5a1bec75d28383 Mon Sep 17 00:00:00 2001 From: Keryan SANIE Date: Mon, 4 Mar 2024 14:20:17 +0100 Subject: [PATCH] fix(analytics): selecteur translate double not --- .../integration/component/translate/translate-selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analytics/script/integration/component/translate/translate-selector.js b/src/analytics/script/integration/component/translate/translate-selector.js index cd12b6751..8c0c07d57 100644 --- a/src/analytics/script/integration/component/translate/translate-selector.js +++ b/src/analytics/script/integration/component/translate/translate-selector.js @@ -5,6 +5,6 @@ const COLLAPSE = api.internals.ns.selector('collapse'); export const TranslateSelector = { BUTTON: `${TRANSLATE}__btn`, - COLLAPSE: `${TRANSLATE} > ${COLLAPSE}, ${TRANSLATE} > *:not(${TRANSLATE}):not(${COLLAPSE}) > ${COLLAPSE}, ${TRANSLATE} > *:not(${TRANSLATE}, ${COLLAPSE}) > *:not(${TRANSLATE}, ${COLLAPSE}) > ${COLLAPSE}`, + COLLAPSE: `${TRANSLATE} > ${COLLAPSE}, ${TRANSLATE} > *:not(${TRANSLATE}):not(${COLLAPSE}) > ${COLLAPSE}, ${TRANSLATE} > *:not(${TRANSLATE}):not(${COLLAPSE}) > *:not(${TRANSLATE}):not(${COLLAPSE}) > ${COLLAPSE}`, COLLAPSE_LEGACY: `${TRANSLATE} ${COLLAPSE}` };