am 76451706: am bb385125: am 3b90aff0: add fixed size to training icons (and remove whitespaces)

* commit '76451706d86daaf38889254f56e47ba989619b9c':
  add fixed size to training icons (and remove whitespaces)
This commit is contained in:
Scott Main 2013-08-01 18:37:40 -07:00 committed by Android Git Automerger
commit ad0f14f4ef
1 changed files with 121 additions and 119 deletions

View File

@ -335,12 +335,14 @@ false; // navigate across topic boundaries only in design docs
$lessons = $(this).closest('li').find('ul li a');
if ($lessons.length) {
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" alt=""/>');
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-tutorial.png" '
+ ' width="64" height="64" alt=""/>');
$lessons.each(function(index) {
$olLessons.append('<li><a href="'+$(this).attr('href')+'">' + $(this).html()+'</a></li>');
});
} else {
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" alt=""/>');
$imgIcon = $('<img src="'+toRoot+'assets/images/resource-article.png" '
+ ' width="64" height="64" alt=""/>');
$pSummary.addClass('article');
}