summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/breadcrumb.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js
index 6fbb5c07289..b32cbf89b42 100644
--- a/apps/files/js/breadcrumb.js
+++ b/apps/files/js/breadcrumb.js
@@ -159,10 +159,10 @@
for (var i = 0; i < parts.length; i++) {
var part = parts[i];
if(part.dir) {
- $menuItem = $('<li class="crumblist"><a><span></span></a></li>');
+ $menuItem = $('<li class="crumblist"><a><span class="icon-folder"></span><span></span></a></li>');
$menuItem.data('dir', part.dir);
$menuItem.find('a').attr('href', this.getCrumbUrl(part, i));
- $menuItem.find('span').text(part.name);
+ $menuItem.find('span:eq(1)').text(part.name);
this.$menu.children('ul').append($menuItem);
if (this.onClick) {
$menuItem.on('click', this.onClick);