Fix lint errors.

This commit is contained in:
Lauri Ojansivu 2017-12-03 04:00:55 +02:00
parent c52233cacf
commit 7c403053e3
11 changed files with 187 additions and 187 deletions

View file

@ -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; });