mirror of
https://github.com/wekan/wekan.git
synced 2025-04-20 12:07:11 -04:00
removed linting errors
This commit is contained in:
parent
dcd4a2f1e3
commit
9940d635b4
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ 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