diff options
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 2 | ||||
-rw-r--r-- | core/js/sharedialogview.js | 2 | ||||
-rw-r--r-- | core/js/tests/specs/sharedialogviewSpec.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js index a4de1c3dbf6..8e7796143d5 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1571,7 +1571,7 @@ function initCore() { var resizeMenu = function() { var appList = $('#appmenu li'); - var headerWidth = $('.header-left').width() - $('#nextcloud').width(); + var headerWidth = $('.header-left').outerWidth() - $('#nextcloud').outerWidth(); var usePercentualAppMenuLimit = 0.33; var minAppsDesktop = 8; var availableWidth = headerWidth - $(appList).width(); diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index 90da279bdb9..da4d887634a 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -25,8 +25,8 @@ ' <span class="shareWithConfirm icon icon-confirm"></span>' + '</div>' + '{{/if}}' + - '<div class="shareeListView subView"></div>' + '<div class="linkShareView subView"></div>' + + '<div class="shareeListView subView"></div>' + '<div class="loading hidden" style="height: 50px"></div>'; /** diff --git a/core/js/tests/specs/sharedialogviewSpec.js b/core/js/tests/specs/sharedialogviewSpec.js index 33d3be51440..20504c56b67 100644 --- a/core/js/tests/specs/sharedialogviewSpec.js +++ b/core/js/tests/specs/sharedialogviewSpec.js @@ -303,7 +303,7 @@ describe('OC.Share.ShareDialogView', function() { }); it('test avatar for circle', function() { - var avatarElement = dialog.$('.avatar').eq(4); + var avatarElement = dialog.$('.avatar').eq(5); expect(avatarElement.css('background')).toContain('path/to/the/avatar'); }); |