diff options
Diffstat (limited to 'public/javascripts/responsive.js')
-rw-r--r-- | public/javascripts/responsive.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/public/javascripts/responsive.js b/public/javascripts/responsive.js index 4c6c3be8f..ec1611132 100644 --- a/public/javascripts/responsive.js +++ b/public/javascripts/responsive.js @@ -49,7 +49,7 @@ function setupFlyout() { $('#main-menu > ul').detach().appendTo('.js-project-menu'); $('#top-menu > ul').detach().appendTo('.js-general-menu'); $('#sidebar > *').detach().appendTo('.js-sidebar'); - $('#account ul').detach().appendTo('.js-profile-menu'); + $('#account > ul').detach().appendTo('.js-profile-menu'); mobileInit = true; desktopInit = false; @@ -60,9 +60,9 @@ function setupFlyout() { if(!desktopInit) { $('.js-project-menu > ul').detach().appendTo('#main-menu'); - $('.js-general-menu ul').detach().appendTo('#top-menu'); + $('.js-general-menu > ul').detach().appendTo('#top-menu'); $('.js-sidebar > *').detach().appendTo('#sidebar'); - $('.js-profile-menu ul').detach().appendTo('#account'); + $('.js-profile-menu > ul').detach().appendTo('#account'); desktopInit = true; mobileInit = false; |