diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-03 12:04:35 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-04-03 12:04:35 +0000 |
commit | 072dd901cc76b5d5369f1547a94d00a5bb0f524a (patch) | |
tree | 9c9536f3142ed3bc4eeec200737b638daeed2dae /public/javascripts/responsive.js | |
parent | 05d1df45daa8dcc6fff3e893039e05b6b2f3d3ad (diff) | |
download | redmine-072dd901cc76b5d5369f1547a94d00a5bb0f524a.tar.gz redmine-072dd901cc76b5d5369f1547a94d00a5bb0f524a.zip |
Responsive layout. Change menu selector in responsive.js (#22105).
Patch by Vasil Kovalevsky.
git-svn-id: http://svn.redmine.org/redmine/trunk@15294 e93f8b46-1217-0410-a6f0-8f06a7374b81
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; |