Fix display of hidden items.
This commit is contained in:
parent
bc5b119c12
commit
b68eb76008
4 changed files with 5 additions and 5 deletions
|
@ -18,7 +18,7 @@
|
|||
<span class="hideThis"> </span>
|
||||
<script type="text/javascript" >
|
||||
$('span.hideThis').parent().parent().addClass("hideThis");
|
||||
if ( $('h3#relatedBy-Authorship').attr('class').length == 0 ) {
|
||||
if ( jQuery.isEmptyObject($('h3#relatedBy-Authorship').attr('class')) ) {
|
||||
$('h3#relatedBy-Authorship').addClass('hiddenPubs');
|
||||
}
|
||||
$('span.hideThis').parent().remove();
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
<span class="hideThis"> </span>
|
||||
<script type="text/javascript" >
|
||||
$('span.hideThis').parent().parent().addClass("hideThis");
|
||||
if ( $('h3#researchOverview').attr('class').length == 0 ) {
|
||||
$('h3#researchOverview').addClass('hiddenGrants');
|
||||
if ( jQuery.isEmptyObject($('h3#RO_0000053').attr('class')) ) {
|
||||
$('h3#RO_0000053').addClass('hiddenGrants');
|
||||
}
|
||||
$('span.hideThis').parent().remove();
|
||||
</script>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<span class="hideThis"> </span>
|
||||
<script type="text/javascript" >
|
||||
$('span.hideThis').parent().parent().addClass("hideThis");
|
||||
if ( $('h3#RO_0000053-ResearcherRole').attr('class').length == 0 ) {
|
||||
if ( jQuery.isEmptyObject($('h3#RO_0000053-ResearcherRole').attr('class')) ) {
|
||||
$('h3#RO_0000053-ResearcherRole').addClass('hiddenGrants');
|
||||
}
|
||||
$('span.hideThis').parent().remove();
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<span class="hideThis"> </span>
|
||||
<script type="text/javascript" >
|
||||
$('span.hideThis').parent().parent().addClass("hideThis");
|
||||
if ( $('h3#relatedBy-Position').attr('class').length == 0 ) {
|
||||
if ( jQuery.isEmptyObject($('h3#relatedBy-Position').attr('class')) ) {
|
||||
$('h3#relatedBy-Position').addClass('hiddenPeople');
|
||||
}
|
||||
$('span.hideThis').parent().remove();
|
||||
|
|
Loading…
Add table
Reference in a new issue