summaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
authorJulius Haertl <jus@bitgrid.net>2017-03-01 23:21:38 +0100
committerJulius Härtl <jus@bitgrid.net>2017-03-16 11:55:09 +0100
commit61dc78e6dc25f2a342fe523e50c41c557f3c6aca (patch)
tree28665afb3835d1cd43df9e827a55de86de377435 /core/js/js.js
parenta630e4629f2489e9d7678fbe6833cf926e2b968e (diff)
downloadnextcloud-server-61dc78e6dc25f2a342fe523e50c41c557f3c6aca.tar.gz
nextcloud-server-61dc78e6dc25f2a342fe523e50c41c557f3c6aca.zip
Fix menu issues
Signed-off-by: Julius Haertl <jus@bitgrid.net>
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index e1e0feda2b1..b001eeecdf7 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -1369,8 +1369,11 @@ function initCore() {
* If the screen is bigger, the main menu is not a toggle any more.
*/
function setupMainMenu() {
+
+ // init the more-apps menu
+ OC.registerMenu($('#more-apps'), $('#navigation'));
// toggle the navigation
- var $toggle = $('#more-apps');
+ var $toggle = $('#header .header-appname-container');
var $navigation = $('#navigation');
// init the menu