/* On the front page we only want to display terms from the subject_codes vocabulary when there is content drawn from the child view present (ie there are actually covers to display). Otherwise we want to hide the term name*/ //$(document).ready(function() { //$("div.views-field-name").hide(); //if ($('#field > div.view-id-New_Books_by_subject_node_fields:contains//(//"someText")').length > 0) { // //if $("div.view-id-New_Books_by_subject_node_fields span.field-content") { // $("div.views-field-name").show(); //} //});