@@ -135,7 +135,7 @@
-
Features |
diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts
index 505c4686d..1f6aec5e2 100644
--- a/frontend/src/app/components/transaction/transaction.component.ts
+++ b/frontend/src/app/components/transaction/transaction.component.ts
@@ -619,10 +619,14 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
// simulate normal anchor fragment behavior
applyFragment(): void {
const anchor = Array.from(this.fragmentParams.entries()).find(([frag, value]) => value === '');
- if (anchor) {
- const anchorElement = document.getElementById(anchor[0]);
- if (anchorElement) {
- anchorElement.scrollIntoView();
+ if (anchor?.length) {
+ if (anchor[0] === 'accelerate') {
+ setTimeout(this.onAccelerateClicked.bind(this), 100);
+ } else {
+ const anchorElement = document.getElementById(anchor[0]);
+ if (anchorElement) {
+ anchorElement.scrollIntoView();
+ }
}
}
}
|