summary refs log tree commit diff
path: root/webclient/app-controller.js
diff options
context:
space:
mode:
authorDavid Baker <dbkr@matrix.org>2014-09-10 15:45:09 +0100
committerDavid Baker <dbkr@matrix.org>2014-09-10 15:45:09 +0100
commite2d2d63bcde7354c2e73b368e7c68d1f2b369562 (patch)
treee87c113753abe1c5a1c20727e0680fb55dbfb09b /webclient/app-controller.js
parentUpgrade angularjs to 1.3.0-rc1 since this is new development (diff)
downloadsynapse-e2d2d63bcde7354c2e73b368e7c68d1f2b369562.tar.xz
Animation on call end icon.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r--webclient/app-controller.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js
index feda0f6b57..8383533cfb 100644
--- a/webclient/app-controller.js
+++ b/webclient/app-controller.js
@@ -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);
         }
     }
 }]);