From 9db5b0c674c7776b42e7cc7f4f8aae4bf94c1a4c Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Tue, 28 Apr 2015 14:48:17 +0200 Subject: [PATCH] Reverted timeout while adding videopeer to DOM as it caused issues in FF. --- static/js/directives/audiovideo.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/js/directives/audiovideo.js b/static/js/directives/audiovideo.js index 519e9c1f..f5b67c93 100644 --- a/static/js/directives/audiovideo.js +++ b/static/js/directives/audiovideo.js @@ -191,9 +191,7 @@ define(['jquery', 'underscore', 'text!partials/audiovideo.html', 'text!partials/ }); }; scope.attachStream(stream); - $timeout(function() { - $($scope.remoteVideos).append(clonedElement); - }); + $($scope.remoteVideos).append(clonedElement); }); };