From 7f6df40ea73e28798a104a76f68cf63b76e32c34 Mon Sep 17 00:00:00 2001 From: Mashy Date: Wed, 11 Sep 2019 16:20:49 +1000 Subject: [PATCH] misc --- client/src/components/instance.ctrl.jsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/src/components/instance.ctrl.jsx b/client/src/components/instance.ctrl.jsx index ba179c1a..7a2762c5 100644 --- a/client/src/components/instance.ctrl.jsx +++ b/client/src/components/instance.ctrl.jsx @@ -15,9 +15,8 @@ const addState = connect( } = state; function sendReady() { - document.activeElement.blur() + document.activeElement.blur(); return ws.sendInstanceReady(instance.id); - return false; } function sendAbandon() { @@ -87,14 +86,14 @@ function Controls(args) { ? : - + const abandon = instance.phase !== 'Finished' ? sendAbandon : false; return ( );