Footnote popups/in-page: support type/role=endnote

This commit is contained in:
poire-z committed 2021-08-17 21:44:48 +02:00
1 parent b875ccc6f9
commit 5df84bcb4f
2 files changed
+5 -1

No files matched your search

+1 -1
Submodule base updated: 3e006501df...1b9094bde3.
+4
View File
@@ -729,9 +729,11 @@ This only works with footnotes that have specific attributes set by the publishe
-- Restrict this to non-FB2 documents, as FB2 can have <a type="note">
css = [[
*[type~="note"],
*[type~="endnote"],
*[type~="footnote"],
*[type~="rearnote"],
*[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"],
*[role~="doc-rearnote"]
{
@@ -751,9 +753,11 @@ This only works with footnotes that have specific attributes set by the publishe
-- and we don't want to have them smaller
css = [[
*[type~="note"],
*[type~="endnote"],
*[type~="footnote"],
*[type~="rearnote"],
*[role~="doc-note"],
*[role~="doc-endnote"],
*[role~="doc-footnote"],
*[role~="doc-rearnote"]
{