From bf3236db9bdcc9f9d5fca7c0733dcf1b77b93d93 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 17 Oct 2019 15:30:16 +0530 Subject: [PATCH] ... --- src/pyj/read_book/footnotes.pyj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyj/read_book/footnotes.pyj b/src/pyj/read_book/footnotes.pyj index ac7d508db4..459708b6db 100644 --- a/src/pyj/read_book/footnotes.pyj +++ b/src/pyj/read_book/footnotes.pyj @@ -224,10 +224,10 @@ 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 + document.body.classList.add('calibre-footnote-container') apply_settings() self.comm.send_message('content_loaded', height=document.documentElement.scrollHeight + 25)