diff --git a/super-store/src/app/components/header/header.component.ts b/super-store/src/app/components/header/header.component.ts index e4b9288..5c856ec 100644 --- a/super-store/src/app/components/header/header.component.ts +++ b/super-store/src/app/components/header/header.component.ts @@ -14,9 +14,9 @@ export class HeaderComponent implements OnInit { ngOnInit() { document.addEventListener('scroll', (e) => { if (document.body.scrollTop > 65) { - $('app-header nav').addClass('fixed'); + $('app-header nav').addClass('is-fixed-top'); } else { - $('app-header nav').removeClass('fixed'); + $('app-header nav').removeClass('is-fixed-top'); } this.menu.fix(); }, true);