diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/join.js | 4 | ||||
-rw-r--r-- | public/style.css | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/public/join.js b/public/join.js index 362800d..a22e0fa 100644 --- a/public/join.js +++ b/public/join.js @@ -213,7 +213,9 @@ function update() { break case 1: case 0: - if (game.owner_id === user_id) + if (limit) + element.innerHTML = `<i>Empty</i>` + else if (game.owner_id === user_id) element.innerHTML = `\xbb <a class="join" href="javascript:join('${role}')">Join</a><a class="green" href="javascript:show_invite('${role}')">\u{2795}</a>` else element.innerHTML = `\xbb <a class="join" href="javascript:join('${role}')">Join</a>` diff --git a/public/style.css b/public/style.css index 0a950e6..c334e86 100644 --- a/public/style.css +++ b/public/style.css @@ -85,7 +85,7 @@ button:disabled { .error { color: brown; font-style: italic; white-space: pre-wrap; } .warning { color: brown; } -p.warning::before { content: "\26a0"; } +p.warning::before { content: "\26a0 "; } /* TABLES */ |