NIHVIVO-2121: Fixed stretched image thumbnail issue on menupage individual listing
This commit is contained in:
parent
7d69145534
commit
ff45e2e86e
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ var browseByVClass = {
|
||||||
// Build the content of each list item, piecing together each component
|
// Build the content of each list item, piecing together each component
|
||||||
listItem = '<li class="individual" role="listitem" role="navigation">';
|
listItem = '<li class="individual" role="listitem" role="navigation">';
|
||||||
if ( typeof results.individuals[i].thumbUrl !== "undefined" ) {
|
if ( typeof results.individuals[i].thumbUrl !== "undefined" ) {
|
||||||
listItem += '<img src="'+ image +'" width="90" height="90" alt="'+ label +'" /><h1 class="thumb">';
|
listItem += '<img src="'+ image +'" width="90" alt="'+ label +'" /><h1 class="thumb">';
|
||||||
} else {
|
} else {
|
||||||
listItem += '<h1>';
|
listItem += '<h1>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue