Ver código fonte

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

master
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
             // Transport class. That's why we are passing only the original
158
             // Transport class. That's why we are passing only the original
159
             // object passed by the consumer of the Transport class which is
159
             // object passed by the consumer of the Transport class which is
160
             // message.data.
160
             // message.data.
161
-            this._sendLegacyMessage(message.data);
161
+            this._sendLegacyMessage(message.data || {});
162
         }
162
         }
163
     }
163
     }
164
 
164
 

Carregando…
Cancelar
Salvar