summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-13 11:51:54 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-12-20 13:48:09 +0100
commit7a9e65ceed793604588399d4eaefa7908ad44379 (patch)
tree76aa6d1119dd04ae28fdcd7e9d61a37e8cb6e84a /apps/files/js
parentdc8809e754c22addaab20401a7505dcc4082541c (diff)
downloadnextcloud-server-7a9e65ceed793604588399d4eaefa7908ad44379.tar.gz
nextcloud-server-7a9e65ceed793604588399d4eaefa7908ad44379.zip
Fixed breadcrumbs calculation and actions flow
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/breadcrumb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js
index 35aeb8d357d..20b15e3cb93 100644
--- a/apps/files/js/breadcrumb.js
+++ b/apps/files/js/breadcrumb.js
@@ -331,7 +331,7 @@
// Used for testing since this.$el.parent fails
if (!this.availableWidth) {
- this.usedWidth = this.$el.parent().width() - (this.$el.parent().find('.button').length + 1) * 44;
+ this.usedWidth = this.$el.parent().width() - this.$el.parent().find('.actions.creatable').width();
} else {
this.usedWidth = this.availableWidth;
}