5 ms·
It seems the code uses `event.key` (which returns a human-readable string, e.g. "ArrowLeft"). `event.key` is not supported in WebKit.
by dhritzkiv 10y ago
It seems the code uses `event.key` (which returns a human-readable string, e.g. "ArrowLeft"). `event.key` is not supported in WebKit.
- jstimpfle 10y agoThanks to you both. I converted to using ev.keyCode. Hope it works everywhere.