diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 11:26:42 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 11:26:42 +0100 |
commit | bac2683c55a87f174bc5001630ac6913e659d1f4 (patch) | |
tree | 62934981d7f3493ea5a5d7aacb675e2dd917a523 /apps/files/js/breadcrumb.js | |
parent | 6d80524e67c2f9bfe23fe37d650fe5ef20d03f53 (diff) | |
download | nextcloud-server-bac2683c55a87f174bc5001630ac6913e659d1f4.tar.gz nextcloud-server-bac2683c55a87f174bc5001630ac6913e659d1f4.zip |
fix alt text for breadcrumbs home icon
Diffstat (limited to 'apps/files/js/breadcrumb.js')
-rw-r--r-- | apps/files/js/breadcrumb.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js index af4e48c8f8c..5cea2639c7d 100644 --- a/apps/files/js/breadcrumb.js +++ b/apps/files/js/breadcrumb.js @@ -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++) { |