1
0
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:
Kris Maglione
2011-02-15 19:51:26 -05:00
parent 5606b96957
commit 928572fa0d
5 changed files with 34 additions and 22 deletions

View File

@@ -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();