aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 12:59:23 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 12:59:23 +0100
commitf223ab796b8b6da796321502e8eeffed81973629 (patch)
tree7a4674f4f6d4038fd34b83b5d038dc88758312a3 /apps/files/js/files.js
parent8174e5faf18fcd762efce5ffdfabfa1102580dd5 (diff)
parent0708f4dec058e98f9d2163000847bf3bc3877faf (diff)
downloadnextcloud-server-f223ab796b8b6da796321502e8eeffed81973629.tar.gz
nextcloud-server-f223ab796b8b6da796321502e8eeffed81973629.zip
Merge branch 'master' into mapped-storage-unit-testing-linux-master
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 5c5b430a8d4..918182162d4 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -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();