adgsm / multi-level-push-menu

MultiLevelPushMenu jQuery Plugin implementation
http://multi-level-push-menu.dzunic.net
804 stars 213 forks source link

Back on needed level by clicking inactive side of menu #149

Closed vitalijm closed 8 years ago

vitalijm commented 8 years ago
                $('.multilevelpushmenu_inactive').on('click', function(e){
                    var me = $(this);
                    if($(e.target).hasClass('multilevelpushmenu_inactive')){
                        var level = $(e.target).attr('data-level');
                        $('#sidenav').multilevelpushmenu('collapse', parseInt(level));
                    }
                });
vitalijm commented 8 years ago

...