1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/11552] MCP fixes, responsive logs

PHPBB3-11552
This commit is contained in:
Vjacheslav Trushkin
2013-09-27 14:29:15 +03:00
parent 8093e4e053
commit 961a27091e
4 changed files with 66 additions and 5 deletions

View File

@@ -684,5 +684,14 @@ function insert_single_user(formId, user)
$('.responsive-tabs').hide();
}
});
// Hide *CP navigation if there is only 1 item
$('#navigation').each(function() {
var items = $(this).children('ol, ul').children('li');
if (items.length == 1)
{
$(this).addClass('responsive-hide');
}
});
});
})(jQuery);