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

This commit is contained in:
shoetten 2016-02-23 15:21:36 +01:00
parent 6064393ad3
commit 33b74a465e

View file

@ -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);
},