mirror of
https://github.com/mempool/mempool.git
synced 2025-04-08 20:08:32 +02:00
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() {
|
||||
const scrollHeight = document.body.scrollHeight;
|
||||
const scrollTop = document.documentElement.scrollTop;
|
||||
if(scrollHeight > 0){
|
||||
if (scrollHeight > 0){
|
||||
const percentageScrolled = scrollTop * 100 / scrollHeight;
|
||||
if(percentageScrolled > 90){
|
||||
if (percentageScrolled > 90){
|
||||
this.loadMore.emit();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user