From e9806cdba3ce2d4275d2c97b8001bb1bcb9263e3 Mon Sep 17 00:00:00 2001 From: Radu-Andrei Dumitru Date: Thu, 7 Nov 2024 10:46:07 +0200 Subject: [PATCH] Minor text/formatting fixes --- .../accordion/v1/accordion/clientlibs/editor/js/accordion.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/src/content/jcr_root/apps/core/wcm/components/accordion/v1/accordion/clientlibs/editor/js/accordion.js b/content/src/content/jcr_root/apps/core/wcm/components/accordion/v1/accordion/clientlibs/editor/js/accordion.js index ea9da00e18..5180abc60a 100644 --- a/content/src/content/jcr_root/apps/core/wcm/components/accordion/v1/accordion/clientlibs/editor/js/accordion.js +++ b/content/src/content/jcr_root/apps/core/wcm/components/accordion/v1/accordion/clientlibs/editor/js/accordion.js @@ -187,8 +187,8 @@ var cmpChildrenEditor = $(childrenEditor).adaptTo("cmp-childreneditor"); if (cmpChildrenEditor) { if (singleExpansion) { - // Check "None" option exists or not, if not then add textcontent - if(!expandedSelect.items._container.textContent.includes("None")){ + // Check if "None" option exists or not, if not then add textContent + if (!expandedSelect.items._container.textContent.includes("None")) { expandedSelect.items.add({ selected: (selectedValues.length === 0), content: {