diff --git a/public/src/forum/admin/footer.js b/public/src/forum/admin/footer.js index dbdb4a55e0..5c1daa97a5 100644 --- a/public/src/forum/admin/footer.js +++ b/public/src/forum/admin/footer.js @@ -32,7 +32,7 @@ define('forum/admin/footer', ['forum/admin/settings'], function(Settings) { function setupMainMenu() { $('.sidebar-nav .nav-header').on('click', function() { - $(this).toggleClass('open'); + $(this).parents('.sidebar-nav').toggleClass('open'); }); }