diff --git a/core/js/js.js b/core/js/js.js index 7a895a2241..ad14c2a855 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1197,7 +1197,7 @@ function initCore() { setupMainMenu(); // move triangle of apps dropdown to align with app name triangle - // 68 is the additional offset coming from the logo width + // 2 is the additional offset between the triangles if($('#navigation').length) { $('#header #owncloud + .menutoggle').one('click', function(){ var caretPosition = $('.header-appname + .icon-caret').offset().left - 2; diff --git a/core/js/tests/specs/coreSpec.js b/core/js/tests/specs/coreSpec.js index 7d06ac2e7d..6f7a34d21c 100644 --- a/core/js/tests/specs/coreSpec.js +++ b/core/js/tests/specs/coreSpec.js @@ -418,7 +418,10 @@ describe('Core base tests', function() { beforeEach(function() { clock = sinon.useFakeTimers(); $('#testArea').append('' + ''); $toggle = $('#header').find('.menutoggle');