diff options
Diffstat (limited to 'client/components/cards/checklists.js')
-rw-r--r-- | client/components/cards/checklists.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js index eccd0551..014b72a4 100644 --- a/client/components/cards/checklists.js +++ b/client/components/cards/checklists.js @@ -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; }); |