mirror of https://github.com/nealey/vail.git
Remove chrome-ism, thanks @synfin
This commit is contained in:
parent
f878593bbe
commit
b20a94c8f1
|
@ -100,7 +100,7 @@ class VailClient {
|
||||||
* @param {Event} event What caused this
|
* @param {Event} event What caused this
|
||||||
*/
|
*/
|
||||||
singlekeyChange(event) {
|
singlekeyChange(event) {
|
||||||
for (let e of event.path) {
|
for (let e of event.composedPath()) {
|
||||||
if (e.dataset && e.dataset.singlekey) {
|
if (e.dataset && e.dataset.singlekey) {
|
||||||
this.inputs.Keyboard.iambic = (e.dataset.singlekey == "iambic")
|
this.inputs.Keyboard.iambic = (e.dataset.singlekey == "iambic")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue