Fix missing whitespace linting. (#534)
This commit is contained in:
parent
a4cd6450e3
commit
efb5deda43
@ -76,9 +76,9 @@ export class TransactionsListComponent implements OnInit, OnChanges {
|
|||||||
onScroll() {
|
onScroll() {
|
||||||
const scrollHeight = document.body.scrollHeight;
|
const scrollHeight = document.body.scrollHeight;
|
||||||
const scrollTop = document.documentElement.scrollTop;
|
const scrollTop = document.documentElement.scrollTop;
|
||||||
if(scrollHeight > 0){
|
if (scrollHeight > 0){
|
||||||
const percentageScrolled = scrollTop * 100 / scrollHeight;
|
const percentageScrolled = scrollTop * 100 / scrollHeight;
|
||||||
if(percentageScrolled > 90){
|
if (percentageScrolled > 90){
|
||||||
this.loadMore.emit();
|
this.loadMore.emit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user