From 1dcf83e8cbf9dcaf25e47d269ba5e22c074d8efc Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Sun, 9 Dec 2018 17:54:10 +0100
Subject: [PATCH] Always show game seek button (main purpose of website)

---
 public/javascripts/components/game.js | 29 ++++++++++++---------------
 1 file changed, 13 insertions(+), 16 deletions(-)

diff --git a/public/javascripts/components/game.js b/public/javascripts/components/game.js
index 11ec4c91..9d9ea378 100644
--- a/public/javascripts/components/game.js
+++ b/public/javascripts/components/game.js
@@ -30,23 +30,20 @@ Vue.component('my-game', {
 		this.incheck.forEach(sq => { incheckSq[sq[0]][sq[1]] = true; });
 		let elementArray = [];
 		let actionArray = [];
-		if (["idle","human"].includes(this.mode))
-		{
-			actionArray.push(
-				h('button',
-				{
-					on: { click: this.clickGameSeek },
-					attrs: { "aria-label": 'New online game' },
-					'class': {
-						"tooltip": true,
-						"bottom": true, //display below
-						"seek": this.seek,
-						"playing": this.mode == "human",
-					},
+		actionArray.push(
+			h('button',
+			{
+				on: { click: this.clickGameSeek },
+				attrs: { "aria-label": 'New online game' },
+				'class': {
+					"tooltip": true,
+					"bottom": true, //display below
+					"seek": this.seek,
+					"playing": this.mode == "human",
 				},
-				[h('i', { 'class': { "material-icons": true } }, "accessibility")])
-			);
-		}
+			},
+			[h('i', { 'class': { "material-icons": true } }, "accessibility")])
+		);
 		if (["idle","computer"].includes(this.mode))
 		{
 			actionArray.push(
-- 
2.44.0