From f13308910cdd09b731ec6a48a381baaa28d0f714 Mon Sep 17 00:00:00 2001 From: Stefan Yohansson Date: Thu, 24 Sep 2015 14:57:16 -0300 Subject: [PATCH] FS-8205 [verto_communicator] fix refresh video callback --- .../src/vertoService/services/vertoService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js index 229bc8b7fc..e65d2f68f4 100644 --- a/html5/verto/verto_communicator/src/vertoService/services/vertoService.js +++ b/html5/verto/verto_communicator/src/vertoService/services/vertoService.js @@ -279,7 +279,7 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora data.canVideo = true; } - if(callback) { + if(angular.isFunction(callback)) { callback(); } },