mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 14:50:52 +01:00
Merge pull request #4922 from mempool/mononaut/actually-fix-sticky-button
Actually fix sticky button
This commit is contained in:
commit
b35422ff9f
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ export class AcceleratePreviewComponent implements OnInit, OnDestroy, OnChanges
|
|||
|
||||
@HostListener('window:scroll', ['$event']) // for window scroll events
|
||||
onScroll() {
|
||||
if (this.estimate && this.user && !this.cashappCTA?.nativeElement) {
|
||||
if (this.estimate && !this.cashappCTA?.nativeElement) {
|
||||
setTimeout(() => {
|
||||
this.onScroll();
|
||||
}, 200);
|
||||
|
|
Loading…
Add table
Reference in a new issue