浏览代码

Merge pull request #30 from dwrensha/show-card-comments

set isLoaded to true on both transitionend and animationend
Lauri Ojansivu 8 年之前
父节点
当前提交
56139e3307
共有 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`]() {
       [`${CSSEvents.transitionend} .js-card-details`]() {
         this.isLoaded.set(true);
         this.isLoaded.set(true);
       },
       },
+      [`${CSSEvents.animationend} .js-card-details`]() {
+        this.isLoaded.set(true);
+      },
     };
     };
 
 
     return [{
     return [{