Merge branch 'master' into mononaut/mobile-chain-jumping
This commit is contained in:
@@ -300,6 +300,10 @@ export class StartComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
if (this.blockchainContainer?.nativeElement) {
|
||||
// clean up scroll position to prevent caching wrong scroll in Firefox
|
||||
this.blockchainContainer.nativeElement.scrollLeft = 0;
|
||||
}
|
||||
this.timeLtrSubscription.unsubscribe();
|
||||
this.chainTipSubscription.unsubscribe();
|
||||
this.markBlockSubscription.unsubscribe();
|
||||
|
||||
Reference in New Issue
Block a user