Merge pull request #1585 from owncloud/fix_breadcrumb_resizing
count divs in actions instead of action div itself (is set to 100%)
This commit is contained in:
commit
72a33e01e6
|
@ -685,9 +685,10 @@ $(document).ready(function() {
|
|||
breadcrumbsWidth += $(breadcrumb).get(0).offsetWidth;
|
||||
});
|
||||
|
||||
if ($('#controls .actions').length > 0) {
|
||||
breadcrumbsWidth += $('#controls .actions').get(0).offsetWidth;
|
||||
}
|
||||
|
||||
$.each($('#controls .actions>div'), function(index, action) {
|
||||
breadcrumbsWidth += $(action).get(0).offsetWidth;
|
||||
});
|
||||
|
||||
function resizeBreadcrumbs(firstRun) {
|
||||
var width = $(this).width();
|
||||
|
|
Loading…
Reference in New Issue