Commit 2592fabb authored by Ad Schellevis's avatar Ad Schellevis

unhide if #categories = 1 in firewall_rules.php

parent a0f16501
......@@ -236,7 +236,7 @@ $( document ).ready(function() {
});
// hide category search when not used
if ($("#fw_category > option").length == 1) {
if ($("#fw_category > option").length == 0) {
$("#fw_category").addClass('hidden');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment