Ver código fonte

fix(postmessagebackend): JS error when response is sent.

j8
hristoterezov 8 anos atrás
pai
commit
382b328262
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      modules/transport/PostMessageTransportBackend.js

+ 1
- 1
modules/transport/PostMessageTransportBackend.js Ver arquivo

@@ -158,7 +158,7 @@ export default class PostMessageTransportBackend {
158 158
             // Transport class. That's why we are passing only the original
159 159
             // object passed by the consumer of the Transport class which is
160 160
             // message.data.
161
-            this._sendLegacyMessage(message.data);
161
+            this._sendLegacyMessage(message.data || {});
162 162
         }
163 163
     }
164 164
 

Carregando…
Cancelar
Salvar