Animation on call end icon.

This commit is contained in:
David Baker 2014-09-10 15:45:09 +01:00
parent dde7ec8e64
commit e2d2d63bcd
4 changed files with 14 additions and 16 deletions

View file

@ -160,13 +160,9 @@ angular.module('MatrixWebClientController', ['matrixService', 'mPresence', 'even
$rootScope.onCallHangup = function(call) {
if (call == $rootScope.currentCall) {
$timeout(function() {
var icon = angular.element('#callEndedIcon');
$animate.addClass(icon, 'callIconRotate');
$timeout(function(){
$rootScope.currentCall = undefined;
}, 4070);
}, 100);
$timeout(function(){
$rootScope.currentCall = undefined;
}, 4070);
}
}
}]);