diff --git a/html5/verto/verto_communicator/src/vertoControllers/controllers/SettingsController.js b/html5/verto/verto_communicator/src/vertoControllers/controllers/SettingsController.js index a9adcd630f..784a2e6dd9 100644 --- a/html5/verto/verto_communicator/src/vertoControllers/controllers/SettingsController.js +++ b/html5/verto/verto_communicator/src/vertoControllers/controllers/SettingsController.js @@ -40,14 +40,15 @@ }; $scope.showPreview = function() { - $modalInstance.close('Ok.'); - if (!verto.data.call) { - $location.path('/preview'); - return; - } - else { - toastr.warning('Can\'t display preview settings during a call'); - } + var settingsEl = angular.element(document.querySelector('#settings')); + settingsEl.toggleClass('toggled'); + if (!verto.data.call) { + $location.path('/preview'); + return; + } + else { + toastr.warning('Can\'t display preview settings during a call'); + } }; $scope.testSpeed = function() {