make sure the first breadcrumb item is inserted before any other elements in the topbar

This commit is contained in:
Robin Appelman 2013-08-01 16:46:01 +02:00
parent 930f0e4c18
commit 44594fb41c
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ OC.Breadcrumb={
existing.removeClass('last'); existing.removeClass('last');
existing.last().after(crumb); existing.last().after(crumb);
}else{ }else{
OC.Breadcrumb.container.append(crumb); OC.Breadcrumb.container.prepend(crumb);
} }
OC.Breadcrumb.crumbs.push(crumb); OC.Breadcrumb.crumbs.push(crumb);
return crumb; return crumb;