mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-04-12 03:21:37 +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…
x
Reference in New Issue
Block a user