diff --git a/src/pyj/iframe_comm.pyj b/src/pyj/iframe_comm.pyj index b06e58db0c..eb5589658e 100644 --- a/src/pyj/iframe_comm.pyj +++ b/src/pyj/iframe_comm.pyj @@ -206,6 +206,9 @@ class IframeClient: 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: