fixes to main menu

This commit is contained in:
psychobunny
2014-09-26 17:28:45 -04:00
parent e63a7c462c
commit e13537facd
2 changed files with 4 additions and 1 deletions

View File

@@ -40,7 +40,7 @@
overflow-y: auto;
.nano-content {
top: 13px;
top: 51px !important;
}
.sidebar-nav {

View File

@@ -33,6 +33,9 @@ define('forum/admin/footer', ['forum/admin/settings'], function(Settings) {
function setupMainMenu() {
$('.sidebar-nav .nav-header').on('click', function() {
$(this).parents('.sidebar-nav').toggleClass('open');
setTimeout(function() {
$('.nano').nanoScroller();
}, 500); // replace with animationend event
});
$('.nano').nanoScroller();