mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 09:38:49 +01:00
Fix lint errors.
This commit is contained in:
parent
c52233cacf
commit
7c403053e3
11 changed files with 187 additions and 187 deletions
|
|
@ -181,8 +181,8 @@ BlazeComponent.extendComponent({
|
|||
Template.checklistDeleteDialog.onCreated(() => {
|
||||
const $cardDetails = this.$('.card-details');
|
||||
this.scrollState = { position: $cardDetails.scrollTop(), //save current scroll position
|
||||
top: false, //required for smooth scroll animation
|
||||
};
|
||||
top: false, //required for smooth scroll animation
|
||||
};
|
||||
//Callback's purpose is to only prevent scrolling after animation is complete
|
||||
$cardDetails.animate({ scrollTop: 0 }, 500, () => { this.scrollState.top = true; });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue