Skip to content

pdfFlipbook 0.3.0.3 - OMP 3.5

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Aug 19:25

Fixed

  • 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.