mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 00:27:58 +01:00
Move events.(toString|fromString|iterKeys|canonicalKeys) to DOM.Event.
This commit is contained in:
@@ -393,7 +393,7 @@ var CommandMode = Class("CommandMode", {
|
||||
this.onChange(commandline.command);
|
||||
},
|
||||
keyup: function CM_onKeyUp(event) {
|
||||
let key = events.toString(event);
|
||||
let key = DOM.Event.stringify(event);
|
||||
if (/-?Tab>$/.test(key) && this.completions)
|
||||
this.completions.tabTimer.flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user