diff --git a/html5/verto/verto_communicator/js/controllers.js b/html5/verto/verto_communicator/js/controllers.js index e7f55fe119..64e780f596 100644 --- a/html5/verto/verto_communicator/js/controllers.js +++ b/html5/verto/verto_communicator/js/controllers.js @@ -675,7 +675,7 @@ vertoControllers.controller('ModalSettingsController', ['$scope', '$http', }; $scope.refreshDeviceList = function() { - verto.refreshDevices(); + return verto.refreshDevices(); } } ]); diff --git a/html5/verto/verto_communicator/js/verto-service.js b/html5/verto/verto_communicator/js/verto-service.js index c319f45862..194b189bf4 100644 --- a/html5/verto/verto_communicator/js/verto-service.js +++ b/html5/verto/verto_communicator/js/verto-service.js @@ -248,10 +248,6 @@ vertoService.service('verto', ['$rootScope', '$cookieStore', '$location', 'stora }]; data.audioDevices = []; - data.selectedVideo = 'none'; - data.selectedShare = 'screen'; - data.selectedAudio = null; - for (var i in jQuery.verto.videoDevices) { var device = jQuery.verto.videoDevices[i]; if (!device.label) {