mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f8e4485bc3
commit
bf3236db9b
@ -224,10 +224,10 @@ 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
|
||||||
|
document.body.classList.add('calibre-footnote-container')
|
||||||
apply_settings()
|
apply_settings()
|
||||||
self.comm.send_message('content_loaded', height=document.documentElement.scrollHeight + 25)
|
self.comm.send_message('content_loaded', height=document.documentElement.scrollHeight + 25)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user