diff --git a/static/js/directives/audiovideo.js b/static/js/directives/audiovideo.js index 16675818..e752c281 100644 --- a/static/js/directives/audiovideo.js +++ b/static/js/directives/audiovideo.js @@ -214,7 +214,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ } $scope.localVideo.src = ''; $scope.miniVideo.src = ''; - $($scope.remoteVideos).empty(); + $($scope.remoteVideos).children(".remoteVideo").remove(); }, 1500); $($scope.mini).removeClass("visible"); $scope.localVideo.style.opacity = 0;