mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Freeze epubReadingSystem
This commit is contained in:
parent
195b083c3a
commit
3ed6951f2e
@ -59,7 +59,7 @@ class EPUBReadingSystem:
|
||||
class IframeBoss:
|
||||
|
||||
def __init__(self):
|
||||
window.navigator.epubReadingSystem = EPUBReadingSystem()
|
||||
window.navigator.epubReadingSystem = Object.freeze(EPUBReadingSystem())
|
||||
self.ready_sent = False
|
||||
self.last_cfi = None
|
||||
self.replace_history_on_next_cfi_update = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user