Browse Source

Avoid removing too much DOM nodes - remove remoteVideos explicitly.

pull/129/head
Simon Eisenmann 11 years ago
parent
commit
3ae82e46ad
  1. 2
      static/js/directives/audiovideo.js

2
static/js/directives/audiovideo.js

@ -214,7 +214,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ @@ -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;

Loading…
Cancel
Save