diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/common/client.js | 2 |
1 files changed, 1 insertions, 1 deletions
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", '<li class="resign separator">') popup.insertAdjacentHTML("beforeend", '<li class="resign" onclick="confirm_resign()">Resign') |