mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
fix last jumpy bit in menu section
This commit is contained in:
parent
f510f1fe8b
commit
770902f360
@ -70,7 +70,7 @@
|
||||
// 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