From 4457b276d9403e65d73ff750ddfef5bd8aabe7aa Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Tue, 8 Apr 2014 19:50:40 +0200 Subject: [PATCH] Only show buddy list on room changes when its not on auto hide. --- static/js/directives/buddylist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/directives/buddylist.js b/static/js/directives/buddylist.js index be86856d..f18b7584 100644 --- a/static/js/directives/buddylist.js +++ b/static/js/directives/buddylist.js @@ -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 } };