ソースを参照

Fix "can't set timers inside simulations error" when moving cards with start/due dates.

shoetten 9 年 前
コミット
33b74a465e
1 ファイル変更1 行追加1 行削除
  1. 1 1
      client/components/cards/cardDate.js

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

@@ -136,7 +136,7 @@ const CardDate = BlazeComponent.extendComponent({
     const self = this;
     self.date = ReactiveVar();
     self.now = ReactiveVar(moment());
-    Meteor.setInterval(() => {
+    window.setInterval(() => {
       self.now.set(moment());
     }, 60000);
   },