fix an error in homepage, update submodules

This commit is contained in:
Alex Martzios 2022-12-12 11:27:40 +02:00
parent 9f6409ecf3
commit c10d316b35
2 changed files with 4 additions and 2 deletions

View File

@ -166,7 +166,9 @@ export class HomeComponent implements OnInit, OnDestroy, AfterViewInit, IDeactiv
}
});
}, options);
intersectionObserver.observe(this.contact.nativeElement);
if(this.contact) {
intersectionObserver.observe(this.contact.nativeElement);
}
let mutationObserver = new MutationObserver(entries => {
entries.forEach(entry => {
if (entry.attributeName === 'style') {

@ -1 +1 @@
Subproject commit 437a5fa50d5b87f81621f9e0c9d62aa4ca92b309
Subproject commit 203c3b71c74eaaecaf96c95783cc74b0dc6452ad