mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-10 04:25:08 +00:00
(Navbar) Small fix for "scroll the active menu item into the view"
This commit is contained in:
parent
7ff1d2aed0
commit
a1aed2998d
|
@ -78,7 +78,7 @@ export class NavbarComponent implements OnInit, OnDestroy
|
|||
)
|
||||
.subscribe(() => {
|
||||
setTimeout(() => {
|
||||
const activeNavItem = document.querySelector('navbar .nav-link.active');
|
||||
const activeNavItem: any = document.querySelector('navbar .nav-link.active');
|
||||
|
||||
if ( activeNavItem )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user