From 33b74a465e142c7a2b5d435dd35b7cea56a2d18b Mon Sep 17 00:00:00 2001 From: shoetten Date: Tue, 23 Feb 2016 15:21:36 +0100 Subject: Fix "can't set timers inside simulations error" when moving cards with start/due dates. --- client/components/cards/cardDate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index f7cd502f..4d129e8e 100644 --- a/client/components/cards/cardDate.js +++ b/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); }, -- cgit v1.2.3-1-g7c22