aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 21:42:27 +0100
committerThomas Mueller <thomas.mueller@tmit.eu>2013-02-11 21:42:27 +0100
commit037fcde1334d7b4d2bdeaaad0a71adc692b27ff8 (patch)
tree6f10b1a8d54cfea8cc3adf343de0bbf0f115f3d2 /apps/files/js/files.js
parentf58ed7a509da54fcd29e21dc6fc75528822157a4 (diff)
parent58e57151e51a02788377f761b183c15cd03b0ef0 (diff)
downloadnextcloud-server-037fcde1334d7b4d2bdeaaad0a71adc692b27ff8.tar.gz
nextcloud-server-037fcde1334d7b4d2bdeaaad0a71adc692b27ff8.zip
Merge branch 'master' into fixing-1424-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();