summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
committerLauri Ojansivu <x@xet7.org>2017-12-03 04:00:55 +0200
commit7c403053e364ffe21d64edd961a55d0402582c07 (patch)
tree77f06a7afdb099c162a29c1bf9909b0761d85ea7 /client/components/cards
parentc52233cacf798e1eb0ad8dbbfe20354443b562e3 (diff)
downloadwekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.gz
wekan-7c403053e364ffe21d64edd961a55d0402582c07.tar.bz2
wekan-7c403053e364ffe21d64edd961a55d0402582c07.zip
Fix lint errors.
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/checklists.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js
index d3a946f0..5c0e3d2e 100644
--- a/client/components/cards/checklists.js
+++ b/client/components/cards/checklists.js
@@ -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; });