mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 18:45:20 -04:00
Add a class to the footnote container
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user