From b20a94c8f1df908dcc462fd2cdee0770bcd0c253 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Thu, 21 Apr 2022 11:17:36 -0600 Subject: [PATCH] Remove chrome-ism, thanks @synfin --- static/vail.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }