diff --git a/static/vail.mjs b/static/vail.mjs index e3fd0f3..be91b17 100644 --- a/static/vail.mjs +++ b/static/vail.mjs @@ -100,7 +100,7 @@ class VailClient { * @param {Event} event What caused this */ singlekeyChange(event) { - for (let e of event.path) { + for (let e of event.composedPath()) { if (e.dataset && e.dataset.singlekey) { this.inputs.Keyboard.iambic = (e.dataset.singlekey == "iambic") }