Add a class to the footnote container

This commit is contained in:
Kovid Goyal 2019-10-17 15:26:29 +05:30
parent 609c8a2215
commit f8e4485bc3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -224,6 +224,7 @@ class PopupIframeBoss:
show_footnote(self.frag, known_anchors) show_footnote(self.frag, known_anchors)
def content_loaded(self): def content_loaded(self):
document.body.classList.add('calibre-footnote-container')
if not self.comm.encrypted_communications: if not self.comm.encrypted_communications:
window.setTimeout(self.content_loaded, 2) window.setTimeout(self.content_loaded, 2)
return return