Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.4.5 - 2026-03-27

### Fixed

- Fix selector for admonition title in togglebutton.js.

## 0.4.4 - 2026-01-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion sphinx_togglebutton/_static/togglebutton.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var initToggleItems = () => {

// Add click handlers for the button + admonition title (if admonition)
admonitionTitle = document.querySelector(
`#${toggleID} > .admonition-title`
`#` + CSS.escape(toggleID) + ` > .admonition-title`
);
if (admonitionTitle) {
// If an admonition, then make the whole title block clickable
Expand Down