Browse Source

Only show buddy list on room changes when its not on auto hide.

pull/18/head
Simon Eisenmann 12 years ago
parent
commit
4457b276d9
  1. 2
      static/js/directives/buddylist.js

2
static/js/directives/buddylist.js

@ -55,7 +55,7 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) { @@ -55,7 +55,7 @@ define(['underscore', 'text!partials/buddylist.html'], function(_, template) {
$scope.enabled = status;
$scope.$emit("roomStatus", status);
}
if (status) {
if (status && !$scope.layout.buddylistAutoHide) {
$scope.layout.buddylist = true
}
};

Loading…
Cancel
Save