summaryrefslogtreecommitdiffstats
path: root/client/components/cards/checklists.js
diff options
context:
space:
mode:
authoramadilsons <joao.amado.95@gmail.com>2017-09-27 15:42:48 +0200
committeramadilsons <joao.amado.95@gmail.com>2017-09-27 15:42:48 +0200
commit9940d635b447d98f60d31181e2fc15610d05b969 (patch)
tree483c5859008a9cd254de9f4ca2beeaa6740371bb /client/components/cards/checklists.js
parentdcd4a2f1e35eccf056b12de05add8d6ec1707887 (diff)
downloadwekan-9940d635b447d98f60d31181e2fc15610d05b969.tar.gz
wekan-9940d635b447d98f60d31181e2fc15610d05b969.tar.bz2
wekan-9940d635b447d98f60d31181e2fc15610d05b969.zip
removed linting errors
Diffstat (limited to 'client/components/cards/checklists.js')
-rw-r--r--client/components/cards/checklists.js2
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; });