From f8e4485bc3ed0bb19dade35e7a782e26606cc8ae Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Oct 2019 15:26:29 +0530 Subject: [PATCH] Add a class to the footnote container --- src/pyj/read_book/footnotes.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/footnotes.pyj b/src/pyj/read_book/footnotes.pyj index 830980731e..ac7d508db4 100644 --- a/src/pyj/read_book/footnotes.pyj +++ b/src/pyj/read_book/footnotes.pyj @@ -224,6 +224,7 @@ class PopupIframeBoss: show_footnote(self.frag, known_anchors) def content_loaded(self): + document.body.classList.add('calibre-footnote-container') if not self.comm.encrypted_communications: window.setTimeout(self.content_loaded, 2) return