You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The button never appeared on a chapter's own landing page. The plugin
hooked Templates::Catalog::Book::Details, and OMP does not call that hook on
the chapter page — it has its own, Templates::Catalog::Chapter::*. So on a
book with chapters, the button was missing from exactly the page the reader
lands on. Both hooks are now registered.
The button did not look like a button outside the publication-format box.
It was injected as a bare anchor and relied on the theme styling any link in
its neighbourhood — true inside .pub_format_*, false in a chapter list, where
only .cmp_download_link is styled and the button rendered as underlined text
among real buttons. It now copies the class list of the PDF link next to it
before adding its own, so it is a visual sibling of that link in any context
and under any theme, instead of depending on one theme's generosity.