From e59645895a8508823536073645c7d745f501b47c Mon Sep 17 00:00:00 2001 From: Daniela Rus Morales Date: Mon, 14 Aug 2023 18:43:33 +0200 Subject: [PATCH] Fix namespace issue with sphinx-inline-tabs --- sphinx_design/compiled/sd_tabs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_design/compiled/sd_tabs.js b/sphinx_design/compiled/sd_tabs.js index 36b38cf..97bf67c 100644 --- a/sphinx_design/compiled/sd_tabs.js +++ b/sphinx_design/compiled/sd_tabs.js @@ -5,7 +5,7 @@ function ready() { for (const label of li) { syncId = label.getAttribute("data-sync-id"); if (syncId) { - label.onclick = onLabelClick; + label.onclick = onSDLabelClick; if (!sd_labels_by_text[syncId]) { sd_labels_by_text[syncId] = []; } @@ -14,7 +14,7 @@ function ready() { } } -function onLabelClick() { +function onSDLabelClick() { // Activate other inputs with the same sync id. syncId = this.getAttribute("data-sync-id"); for (label of sd_labels_by_text[syncId]) {