22105.patch

Vasil Kovalevsky, 2016-02-24 05:16

Download (1.21 KB)

View differences:

public/javascripts/responsive.js (revision )
49 49
        $('#main-menu > ul').detach().appendTo('.js-project-menu');
50 50
        $('#top-menu > ul').detach().appendTo('.js-general-menu');
51 51
        $('#sidebar > *').detach().appendTo('.js-sidebar');
52
        $('#account ul').detach().appendTo('.js-profile-menu');
52
        $('#account > ul').detach().appendTo('.js-profile-menu');
53 53

  
54 54
        mobileInit = true;
55 55
        desktopInit = false;
......
60 60
      if(!desktopInit) {
61 61

  
62 62
        $('.js-project-menu > ul').detach().appendTo('#main-menu');
63
        $('.js-general-menu ul').detach().appendTo('#top-menu');
63
        $('.js-general-menu > ul').detach().appendTo('#top-menu');
64 64
        $('.js-sidebar > *').detach().appendTo('#sidebar');
65
        $('.js-profile-menu ul').detach().appendTo('#account');
65
        $('.js-profile-menu > ul').detach().appendTo('#account');
66 66

  
67 67
        desktopInit = true;
68 68
        mobileInit = false;