removed linting errors

This commit is contained in:
amadilsons 2017-09-27 15:42:48 +02:00
parent dcd4a2f1e3
commit 9940d635b4

View file

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