Show category options if there's more than 1 category

This commit is contained in:
Cryptkeeper 2016-02-23 19:21:13 -06:00
parent 9ac6502394
commit 3ed9b85db4

View File

@ -290,7 +290,7 @@ $(document).ready(function() {
});
socket.on('add', function(servers) {
if (Object.keys(publicConfig.categories).length > 0) {
if (Object.keys(publicConfig.categories).length > 1) {
$('#category-controller').css('display', 'block');
}