mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
332f1e7e63
commit
13be0d6712
@ -135,11 +135,13 @@ class IframeWrapper:
|
||||
print('Could not process message from iframe:')
|
||||
console.log(e)
|
||||
return
|
||||
if not data.action:
|
||||
return
|
||||
func = self.handlers[data.action]
|
||||
if func:
|
||||
func(data)
|
||||
else:
|
||||
print('Unknown action in message from iframe to parent: ' + data.action)
|
||||
print('Unknown action in message from iframe to parent:', data.action)
|
||||
|
||||
def on_iframe_ready(self, data):
|
||||
self.messenger.reset()
|
||||
|
@ -71,7 +71,6 @@ class IframeBoss:
|
||||
window.navigator.epubReadingSystem = EPUBReadingSystem()
|
||||
self.last_cfi = None
|
||||
self.replace_history_on_next_cfi_update = True
|
||||
self.encrypted_communications = False
|
||||
self.blob_url_map = {}
|
||||
self.resource_urls = {}
|
||||
self.content_ready = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user