fix alt text for breadcrumbs home icon

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 11:26:42 +01:00
parent 6d80524e67
commit bac2683c55
1 changed files with 2 additions and 0 deletions

View File

@ -106,6 +106,7 @@
if (part.img) {
$image = $('<img class="svg"></img>');
$image.attr('src', part.img);
$image.attr('alt', part.alt);
$link.append($image);
}
this.breadcrumbs.push($crumb);
@ -151,6 +152,7 @@
crumbs.push({
dir: '/',
name: '',
alt: t('files', 'Home'),
img: OC.imagePath('core', 'places/home.svg')
});
for (var i = 0; i < parts.length; i++) {