Skip to content

Commit

Permalink
馃憣 Improve specificity of JS function name (#153)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniela Rus Morales <daniela.rus_morales@contractors.roche.com>
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
  • Loading branch information
3 people committed Aug 30, 2023
1 parent fa9e3cc commit c7a2ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx_design/compiled/sd_tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] = [];
}
Expand All @@ -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]) {
Expand Down

0 comments on commit c7a2ca9

Please sign in to comment.