add private atribuite

This commit is contained in:
Peter Maquiran
2022-01-13 10:26:40 +01:00
parent 9bb9516491
commit 8386781f77
2 changed files with 2 additions and 2 deletions
@@ -133,7 +133,7 @@ export class MessagesPage implements OnInit, OnChanges, AfterViewInit, OnDestroy
ev.target.complete();
}
scrollToBottom(): void {
scrollToBottom = () => {
try {
if(this.scrollingOnce){
this.myScrollContainer.nativeElement.scrollTop = this.myScrollContainer.nativeElement.scrollHeight;