diff --git a/static/js/directives/helptour.js b/static/js/directives/helptour.js index 899cb00a..8c2ff051 100644 --- a/static/js/directives/helptour.js +++ b/static/js/directives/helptour.js @@ -48,10 +48,7 @@ define(['jquery', 'angular', 'text!partials/helpoverlay.html', 'text!partials/he } }; menus.toggleRoom = function() { - var scope = angular.element('#roombar .roombar').scope(); - if (scope) { - scope.hideRoomBar = !scope.hideRoomBar; - } + $scope.layout.roombar = !$scope.layout.roombar; }; menus.toggleChat = function() { $scope.layout.chat = !$scope.layout.chat;