Преглед на файлове

set isLoaded to true on both transitionend and animationend

David Renshaw преди 8 години
родител
ревизия
6090ede8c9
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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`]() {
         this.isLoaded.set(true);
       },
+      [`${CSSEvents.animationend} .js-card-details`]() {
+        this.isLoaded.set(true);
+      },
     };
 
     return [{