Przeglądaj źródła

Safe guard for removed parent node of the iframe.

master
damencho 6 lat temu
rodzic
commit
bb3a10b0fc
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      modules/API/external/external_api.js

+ 1
- 1
modules/API/external/external_api.js Wyświetl plik

@@ -561,7 +561,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
561 561
         this.emit('_willDispose');
562 562
         this._transport.dispose();
563 563
         this.removeAllListeners();
564
-        if (this._frame) {
564
+        if (this._frame && this._frame.parentNode) {
565 565
             this._frame.parentNode.removeChild(this._frame);
566 566
         }
567 567
     }

Ładowanie…
Anuluj
Zapisz