Selaa lähdekoodia

removed linting errors

amadilsons 7 vuotta sitten
vanhempi
sitoutus
9940d635b4
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      client/components/cards/checklists.js

+ 1 - 1
client/components/cards/checklists.js

@@ -184,7 +184,7 @@ BlazeComponent.extendComponent({
 Template.checklistDeleteDialog.onCreated(() => {
 Template.checklistDeleteDialog.onCreated(() => {
   const $cardDetails = this.$('.card-details');
   const $cardDetails = this.$('.card-details');
   this.scrollState = { position: $cardDetails.scrollTop(), //save current scroll position
   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
   //Callback's purpose is to only prevent scrolling after animation is complete
   $cardDetails.animate({ scrollTop: 0 }, 500, () => { this.scrollState.top = true; });
   $cardDetails.animate({ scrollTop: 0 }, 500, () => { this.scrollState.top = true; });