We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fe9e61 commit 7fd95fcCopy full SHA for 7fd95fc
sphinx_togglebutton/_static/togglebutton.js
@@ -73,9 +73,9 @@ var initToggleItems = () => {
73
}
74
// Update the inner text for the proper hint
75
if (details.open) {
76
- summary.querySelector("span").innerText = toggleHintShow;
+ summary.querySelector("span.toggle-details__summary-text").innerText = toggleHintShow;
77
} else {
78
- summary.querySelector("span").innerText = toggleHintHide;
+ summary.querySelector("span.toggle-details__summary-text").innerText = toggleHintHide;
79
80
81
});
0 commit comments