]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix alt text for breadcrumbs home icon
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:26:42 +0000 (11:26 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:26:42 +0000 (11:26 +0100)
apps/files/js/breadcrumb.js

index af4e48c8f8c4aaa0057f3c27e9c3d166b647b210..5cea2639c7dd997401657daf43895ab2d9d5e935 100644 (file)
                                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);
                        crumbs.push({
                                dir: '/',
                                name: '',
+                               alt: t('files', 'Home'),
                                img: OC.imagePath('core', 'places/home.svg')
                        });
                        for (var i = 0; i < parts.length; i++) {