Browse Source

Use new roombar value.

pull/122/head
Evan Theurer 12 years ago
parent
commit
6d55299909
  1. 5
      static/js/directives/helptour.js

5
static/js/directives/helptour.js

@ -48,10 +48,7 @@ define(['jquery', 'angular', 'text!partials/helpoverlay.html', 'text!partials/he @@ -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;

Loading…
Cancel
Save