count divs in actions instead of action div itself (is set to 100%)
This commit is contained in:
parent
1c56539c01
commit
bf4a073dca
1 changed files with 4 additions and 3 deletions
|
@ -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 a new issue