Explorar o código

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

shoetten %!s(int64=9) %!d(string=hai) anos
pai
achega
33b74a465e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
   },