summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorshoetten <simon@hoetten.org>2016-02-23 15:21:36 +0100
committershoetten <simon@hoetten.org>2016-11-22 21:28:54 +0100
commit33b74a465e142c7a2b5d435dd35b7cea56a2d18b (patch)
tree73fac50e46c7f49df666c7aad8cecc3b73e16f75 /client
parent6064393ad339333f02ce90fa1814ea47c18e78c2 (diff)
downloadwekan-33b74a465e142c7a2b5d435dd35b7cea56a2d18b.tar.gz
wekan-33b74a465e142c7a2b5d435dd35b7cea56a2d18b.tar.bz2
wekan-33b74a465e142c7a2b5d435dd35b7cea56a2d18b.zip
Fix "can't set timers inside simulations error" when moving cards with start/due dates.
Diffstat (limited to 'client')
-rw-r--r--client/components/cards/cardDate.js2
1 files changed, 1 insertions, 1 deletions
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);
},