fixes to main menu

v1.18.x
psychobunny 11 years ago
parent e63a7c462c
commit e13537facd

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

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

Loading…
Cancel
Save