summaryrefslogtreecommitdiff
path: root/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'web/static')
-rw-r--r--web/static/dartboat.js4
-rw-r--r--web/static/index.html2
-rw-r--r--web/static/style.css2
3 files changed, 4 insertions, 4 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js
index cb8e9dd..9cedc4a 100644
--- a/web/static/dartboat.js
+++ b/web/static/dartboat.js
@@ -123,9 +123,9 @@ prompt_handlers.end_match = {
}
};
-prompt_handlers.match_mode = {
+prompt_handlers.select_mode = {
__proto__: prompt_handlers.default,
- _keypad: 'match_mode',
+ _keypad: 'select_mode',
submit() {
let v = this._get_and_clear();
diff --git a/web/static/index.html b/web/static/index.html
index e1384bb..1177e40 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -47,7 +47,7 @@
<div onclick="promptHandle('undo')" class="key" id="key_undo">UNDO</div>
<div onclick="promptHandle('submit_rem')" class="key">REMAINING</div>
</div>
- <div id="keypad-match_mode" class="keypad">
+ <div id="keypad-select_mode" class="keypad">
<div onclick="promptHandle('append', 1); promptHandle('submit')" class="key"><span class="keyboard-val">[1]</span> Play against bot</div>
<div onclick="promptHandle('append', 2); promptHandle('submit')" class="key"><span class="keyboard-val">[2]</span> One-player scoreboard</div>
<div onclick="promptHandle('append', 3); promptHandle('submit')" class="key"><span class="keyboard-val">[3]</span> Two-player scoreboard</div>
diff --git a/web/static/style.css b/web/static/style.css
index 519a437..e43a0c1 100644
--- a/web/static/style.css
+++ b/web/static/style.css
@@ -42,7 +42,7 @@ div#controls .keypad {
display: contents;
}
-div#controls #keypad-match_mode .key {
+div#controls #keypad-select_mode .key {
grid-column: 1 / -1;
padding-left: 0.4rem;