summaryrefslogtreecommitdiff
path: root/web/share/js/keypad.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/keypad.js')
-rw-r--r--web/share/js/keypad.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/share/js/keypad.js b/web/share/js/keypad.js
index 7e4cf366..a3e96813 100644
--- a/web/share/js/keypad.js
+++ b/web/share/js/keypad.js
@@ -36,7 +36,7 @@ export function Keypad(keys_parent, key_callback) {
var __modifiers = {};
var __init__ = function() {
- for (let el_key of $$$(keys_parent + " div.key")) {
+ for (let el_key of $$$(`${keys_parent} div.key`)) {
let code = el_key.getAttribute("data-code");
tools.setDefault(__keys, code, []);
@@ -54,7 +54,7 @@ export function Keypad(keys_parent, key_callback) {
};
}
- for (let el_key of $$$(keys_parent + " div.modifier")) {
+ for (let el_key of $$$(`${keys_parent} div.modifier`)) {
let code = el_key.getAttribute("data-code");
tools.setDefault(__modifiers, code, []);