diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-26 02:49:52 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-26 02:49:52 -0700 |
commit | 0d2fc32b01d90796ffee0fa3ac8fb6beb4fa3c1a (patch) | |
tree | 2edf5a894e2eca7823e682f4fef3cb6903e6c380 | |
parent | dca2e78c27b1d73dfbecdeb1a697f6785981db91 (diff) | |
download | dartboat-0d2fc32b01d90796ffee0fa3ac8fb6beb4fa3c1a.tar.gz dartboat-0d2fc32b01d90796ffee0fa3ac8fb6beb4fa3c1a.tar.xz |
web: fix data types in HTML onclick scripts
-rw-r--r-- | web/static/index.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/web/static/index.html b/web/static/index.html index 1177e40..f986ee9 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -32,25 +32,25 @@ <div id="prompt-msg-r"></div> </div> <div id="keypad-default" class="keypad" style="display: none"> - <div onclick="promptHandle('append', 1)" class="key num">1</div> - <div onclick="promptHandle('append', 2)" class="key num">2</div> - <div onclick="promptHandle('append', 3)" class="key num">3</div> - <div onclick="promptHandle('append', 4)" class="key num">4</div> - <div onclick="promptHandle('append', 5)" class="key num">5</div> - <div onclick="promptHandle('append', 6)" class="key num">6</div> - <div onclick="promptHandle('append', 7)" class="key num">7</div> - <div onclick="promptHandle('append', 8)" class="key num">8</div> - <div onclick="promptHandle('append', 9)" class="key num">9</div> + <div onclick="promptHandle('append', '1')" class="key num">1</div> + <div onclick="promptHandle('append', '2')" class="key num">2</div> + <div onclick="promptHandle('append', '3')" class="key num">3</div> + <div onclick="promptHandle('append', '4')" class="key num">4</div> + <div onclick="promptHandle('append', '5')" class="key num">5</div> + <div onclick="promptHandle('append', '6')" class="key num">6</div> + <div onclick="promptHandle('append', '7')" class="key num">7</div> + <div onclick="promptHandle('append', '8')" class="key num">8</div> + <div onclick="promptHandle('append', '9')" class="key num">9</div> <div onclick="promptHandle('clear')" class="key">CLEAR</div> - <div onclick="promptHandle('append', 0)" class="key num">0</div> + <div onclick="promptHandle('append', '0')" class="key num">0</div> <div onclick="promptHandle('submit')" class="key ok">OK</div> <div onclick="promptHandle('undo')" class="key" id="key_undo">UNDO</div> <div onclick="promptHandle('submit_rem')" class="key">REMAINING</div> </div> <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> + <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> </div> </div> <div id="settings-bar"> |