mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 15:23:51 +02:00
Fix #1896844 [Private bug](https://bugs.launchpad.net/calibre/+bug/1896844)
This commit is contained in:
parent
103659f267
commit
4d5b25bf0e
1 changed files with 3 additions and 0 deletions
|
|
@ -206,6 +206,9 @@ def handle_message(self, event):
|
|||
print('Could not process message from parent:')
|
||||
console.log(e)
|
||||
return
|
||||
if not data or not data.action:
|
||||
console.log('Got a null message from parent in iframe, ignoring')
|
||||
return
|
||||
func = self.handlers[data.action]
|
||||
if func:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Reference in a new issue