From 2146f9bfb055f890ae8f8296b5c218f039ba067e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 26 Sep 2024 00:17:13 +0200 Subject: Allow resigning in 3p+ games. --- public/common/client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/common/client.js b/public/common/client.js index b39642c..3bc8aff 100644 --- a/public/common/client.js +++ b/public/common/client.js @@ -766,7 +766,7 @@ function confirm_resign() { } function add_resign_menu() { - if (Object.keys(roles).length <= 2) { + if (Object.keys(roles).length > 1) { let popup = document.querySelector("#toolbar details menu") popup.insertAdjacentHTML("beforeend", '
  • ') popup.insertAdjacentHTML("beforeend", '
  • Resign') -- cgit v1.2.3