removed linting errors

reviewable/pr1257/r2
amadilsons 8 years ago
parent dcd4a2f1e3
commit 9940d635b4
  1. 2
      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; });

Loading…
Cancel
Save