Does anyone know how to make the script from this thread work in portal v2?
I was using it in v1 to hide a category of child items that no one needed to see, but it doesn’t appear to do anything in v2.
Code for reference:
<script>
var cur_loc = window.location.pathname,
req_loc = "/support/catalog/items";
if (cur_loc == req_loc) {
jQuery(document).ready(function() {
jQuery("#categories").find("[data-id='5000223941']").hide();
}); }
</script>