From 3ed9b85db4e872018e4221f1679596fd889e7065 Mon Sep 17 00:00:00 2001 From: Cryptkeeper Date: Tue, 23 Feb 2016 19:21:13 -0600 Subject: [PATCH] Show category options if there's more than 1 category --- assets/js/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/site.js b/assets/js/site.js index c64eb67..97fba3a 100644 --- a/assets/js/site.js +++ b/assets/js/site.js @@ -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'); }