diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2017-12-22 09:11:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-22 09:11:16 +0100 |
commit | d0e7b0d8c3bc24922644c605a3fa61b467a40a65 (patch) | |
tree | 427ebed2841f06d9e417a6fdfbb9c85a289a5385 /apps/files/js/breadcrumb.js | |
parent | 0b8a9fcaead4074d603c6a66f0c6c4c63d89dc51 (diff) | |
parent | 8cc90ab4de744f430b69f8a9f1f3447d0f926af0 (diff) | |
download | nextcloud-server-d0e7b0d8c3bc24922644c605a3fa61b467a40a65.tar.gz nextcloud-server-d0e7b0d8c3bc24922644c605a3fa61b467a40a65.zip |
Merge pull request #7478 from nextcloud/breadcrumbs-buttons-fixes-gallery
Fixed breadcrumbs calculation and actions flow
Diffstat (limited to 'apps/files/js/breadcrumb.js')
-rw-r--r-- | apps/files/js/breadcrumb.js | 2 |
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; } |