Footer and header design updates.

This commit is contained in:
Simon Lindh
2020-02-24 03:42:29 +07:00
committed by wiz
parent 864b33fb38
commit c550c888a4
23 changed files with 114 additions and 82 deletions

View File

@@ -42,6 +42,7 @@ export class BlockComponent implements OnInit {
}
this.blockHash = blockHash;
document.body.scrollTo(0, 0);
if (history.state.data && history.state.data.block) {
this.blockHeight = history.state.data.block.height;
@@ -57,7 +58,6 @@ export class BlockComponent implements OnInit {
this.blockHeight = block.height;
this.isLoadingBlock = false;
this.getBlockTransactions(block.id);
document.body.scrollTo({ top: 0, behavior: 'smooth' });
},
(error) => {
this.error = error;