diff --git a/apps/common/main/lib/view/Header.js b/apps/common/main/lib/view/Header.js index bf8f3305c..7c2873269 100644 --- a/apps/common/main/lib/view/Header.js +++ b/apps/common/main/lib/view/Header.js @@ -129,13 +129,12 @@ define([ fnEncode: Common.Utils.String.htmlEncode })); - if (!$userList.scroller) - $userList.scroller = new Common.UI.Scroller({ - el: $userList.find('ul'), - useKeyboard: true, - minScrollbarLength: 40, - alwaysVisibleY: true - }); + $userList.scroller = new Common.UI.Scroller({ + el: $userList.find('ul'), + useKeyboard: true, + minScrollbarLength: 40, + alwaysVisibleY: true + }); $userList.scroller.update({minScrollbarLength : 40, alwaysVisibleY: true}); } else { $userList.empty(); diff --git a/apps/common/main/resources/less/header.less b/apps/common/main/resources/less/header.less index 783d93551..81e8eebe2 100644 --- a/apps/common/main/resources/less/header.less +++ b/apps/common/main/resources/less/header.less @@ -216,7 +216,7 @@ margin: 0; padding: 0; overflow: hidden; - max-height: 190px; + max-height: 195px; position: relative; li {