Skip to content

Commit c7a2ca9

Browse files
danirusDaniela Rus Moraleschrisjsewell
authored
👌 Improve specificity of JS function name (#153)
Co-authored-by: Daniela Rus Morales <[email protected]> Co-authored-by: Chris Sewell <[email protected]>
1 parent fa9e3cc commit c7a2ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sphinx_design/compiled/sd_tabs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function ready() {
55
for (const label of li) {
66
syncId = label.getAttribute("data-sync-id");
77
if (syncId) {
8-
label.onclick = onLabelClick;
8+
label.onclick = onSDLabelClick;
99
if (!sd_labels_by_text[syncId]) {
1010
sd_labels_by_text[syncId] = [];
1111
}
@@ -14,7 +14,7 @@ function ready() {
1414
}
1515
}
1616

17-
function onLabelClick() {
17+
function onSDLabelClick() {
1818
// Activate other inputs with the same sync id.
1919
syncId = this.getAttribute("data-sync-id");
2020
for (label of sd_labels_by_text[syncId]) {

0 commit comments

Comments
 (0)