From e13faee4cd9e897f7f418628c39bd4f23cceaf5b Mon Sep 17 00:00:00 2001 From: Chris Blanchard Date: Sun, 20 Sep 2015 00:48:51 +0100 Subject: [PATCH] Up regather threshold to 8 fixes #40 --- lib/gather/gather.js | 2 +- lib/react/gather.jsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/gather/gather.js b/lib/gather/gather.js index ba99e22..c5da5dc 100644 --- a/lib/gather/gather.js +++ b/lib/gather/gather.js @@ -25,7 +25,7 @@ function Gather (options) { options.onEvent : noop; this.TEAM_SIZE = 6; this.gatherers = []; - this.REGATHER_THRESHOLD = 6; + this.REGATHER_THRESHOLD = 8; this.election = { INTERVAL: 120000, // 2 mins startTime: null, diff --git a/lib/react/gather.jsx b/lib/react/gather.jsx index bb1e8d8..875db86 100644 --- a/lib/react/gather.jsx +++ b/lib/react/gather.jsx @@ -336,13 +336,13 @@ var GatherActions = React.createClass({
  • ); + className="btn btn-danger">{`Voted Regather (${regatherVotes}/8)`}); } else { regatherButton = (
  • ); + className="btn btn-danger">{`Vote Regather (${regatherVotes}/8)`}); } }