removed debug helper

This commit is contained in:
Nicolas Constant 2018-09-17 22:57:55 -04:00
parent 889ce1fa35
commit b5e22f61c4
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
1 changed files with 0 additions and 1 deletions

View File

@ -64,7 +64,6 @@ export class StreamComponent implements OnInit {
onScroll() { onScroll() {
var element = this.statustream.nativeElement as HTMLElement; var element = this.statustream.nativeElement as HTMLElement;
console.warn(`atBottom: ${element.scrollHeight} === ${element.clientHeight} + ${element.scrollTop } `);
const atBottom = element.scrollHeight <= element.clientHeight + element.scrollTop + 500; const atBottom = element.scrollHeight <= element.clientHeight + element.scrollTop + 500;
const atTop = element.scrollTop === 0; const atTop = element.scrollTop === 0;