mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 19:27:58 +01:00
Minor key processing tweaks.
This commit is contained in:
@@ -357,9 +357,9 @@ var HintSession = Class("HintSession", CommandMode, {
|
||||
*
|
||||
* @param {Event} event The event to handle.
|
||||
*/
|
||||
onKeyPress: function onKeyPress(event) {
|
||||
onKeyPress: function onKeyPress(events) {
|
||||
const KILL = false, PASS = true;
|
||||
let key = events.toString(event);
|
||||
let key = events.toString(events[0]);
|
||||
|
||||
this.clearTimeout();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user