mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
fix last jumpy bit in menu section
This commit is contained in:
parent
770902f360
commit
098b691ded
@ -148,7 +148,7 @@ $pagetitle = gentitle( $pgtitle );
|
||||
// hide submenu items
|
||||
$('#mainmenu .list-group-item').click(function(){
|
||||
$('#mainmenu .list-group-item').each(function(){
|
||||
if ($(this).attr('aria-expanded') == 'true' && $(this).data('parent') != '#mainmenu' ) {
|
||||
if ($(this).attr('aria-expanded') == 'true' && $(this).data('parent') != '#mainmenu' && $(this).attr('href').substring(0,1) != '#') {
|
||||
$("#"+$(this).attr('href').substring(1,999)).collapse('hide');
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user