Browse Source

set isLoaded to true on both transitionend and animationend

David Renshaw 8 years ago
parent
commit
6090ede8c9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      client/components/cards/cardDetails.js

+ 3 - 0
client/components/cards/cardDetails.js

@@ -65,6 +65,9 @@ BlazeComponent.extendComponent({
       [`${CSSEvents.transitionend} .js-card-details`]() {
       [`${CSSEvents.transitionend} .js-card-details`]() {
         this.isLoaded.set(true);
         this.isLoaded.set(true);
       },
       },
+      [`${CSSEvents.animationend} .js-card-details`]() {
+        this.isLoaded.set(true);
+      },
     };
     };
 
 
     return [{
     return [{