diff options
author | Julius Haertl <jus@bitgrid.net> | 2016-12-18 15:05:39 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-03-16 11:55:09 +0100 |
commit | 42feab59d5ee45689c9ea6787b0aebceb777dab4 (patch) | |
tree | b1f6650ba3abc2738d888a707d3c5bad6bba518b /core/js | |
parent | 4d207680f28f789a0b83fabb3967fa02fccdb919 (diff) | |
download | nextcloud-server-42feab59d5ee45689c9ea6787b0aebceb777dab4.tar.gz nextcloud-server-42feab59d5ee45689c9ea6787b0aebceb777dab4.zip |
Show app icons in the header
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js index 6fd66c9c9bb..e1e0feda2b1 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -1370,7 +1370,7 @@ function initCore() { */ function setupMainMenu() { // toggle the navigation - var $toggle = $('#header .header-appname-container'); + var $toggle = $('#more-apps'); var $navigation = $('#navigation'); // init the menu @@ -1439,7 +1439,7 @@ function initCore() { // 2 is the additional offset between the triangles if($('#navigation').length) { $('#header #nextcloud + .menutoggle').one('click', function(){ - var caretPosition = $('.header-appname + .icon-caret').offset().left - 2; + var caretPosition = $('#more-apps').offset().left - 2; if(caretPosition > 255) { // if the app name is longer than the menu, just put the triangle in the middle return; |