mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Selecting parents of nested menu entries by default in LeftAndMain.Menu.js
This commit is contained in:
parent
7408ba4a54
commit
443777e789
@ -40,6 +40,9 @@
|
||||
self.toggleClass('collapsed', $(this).hasClass('collapsed'));
|
||||
});
|
||||
|
||||
// Select default element (which might reveal children in hidden parents)
|
||||
this.find('li.current').select();
|
||||
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user