mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
baBackTop fix
This commit is contained in:
parent
fb435d91fb
commit
9a90d9507c
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export class BaBackTop {
|
|||
|
||||
@HostListener('click')
|
||||
_onClick():boolean {
|
||||
$('html, body').animate({scrollTop:this.position}, {duration:this.moveSpeed});
|
||||
$('html, body').animate({scrollTop:0}, {duration:this.moveSpeed});
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue