diff --git a/src/webui/www/private/scripts/client.js b/src/webui/www/private/scripts/client.js index 5d77a5985..94b9ec558 100644 --- a/src/webui/www/private/scripts/client.js +++ b/src/webui/www/private/scripts/client.js @@ -320,7 +320,7 @@ window.addEvent('load', function() { return true; } const categoryHash = genHash(category); - if (category_list[categoryHash] === null) // This should not happen + if (!category_list[categoryHash]) // This should not happen category_list[categoryHash] = { name: category, torrents: []