mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1896844 [Private bug](https://bugs.launchpad.net/calibre/+bug/1896844)
This commit is contained in:
parent
103659f267
commit
4d5b25bf0e
@ -206,6 +206,9 @@ class IframeClient:
|
|||||||
print('Could not process message from parent:')
|
print('Could not process message from parent:')
|
||||||
console.log(e)
|
console.log(e)
|
||||||
return
|
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]
|
func = self.handlers[data.action]
|
||||||
if func:
|
if func:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user