diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js index 02a920d22..45251bc44 100644 --- a/modules/API/external/external_api.js +++ b/modules/API/external/external_api.js @@ -345,7 +345,7 @@ JitsiMeetExternalAPI.prototype.removeEventListeners = function(events) { * Removes the listeners and removes the Jitsi Meet frame. */ JitsiMeetExternalAPI.prototype.dispose = function() { - this.postis.dispose(); + this.postis.destroy(); var frame = document.getElementById(this.frameName); if(frame) frame.src = 'about:blank';