(Navbar) Small fix for "scroll the active menu item into the view"

This commit is contained in:
Sercan Yemen 2018-07-02 16:46:55 +03:00
parent 7ff1d2aed0
commit a1aed2998d

View File

@ -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 )
{