]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8205 [verto_communicator] fix refresh video callback
authorStefan Yohansson <stefan@evolux.net.br>
Thu, 24 Sep 2015 17:57:16 +0000 (14:57 -0300)
committerKen Rice <krice@freeswitch.org>
Fri, 25 Sep 2015 15:08:09 +0000 (10:08 -0500)
html5/verto/verto_communicator/src/vertoService/services/vertoService.js

index 229bc8b7fc46759a8e4d9bac5f574084b517558e..e65d2f68f498b8b6ed1ca48ef00525584da05150 100644 (file)
@@ -279,7 +279,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora
           data.canVideo = true;
         }
 
-        if(callback) {
+        if(angular.isFunction(callback)) {
           callback();
         }
       },