mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 02:28:00 +01:00
Fix stray onEvent in commandline.js.
--HG-- branch : key-processing
This commit is contained in:
@@ -911,7 +911,7 @@ var CommandLine = Module("commandline", {
|
||||
|
||||
modes.push(modes.COMMAND_LINE, modes.PROMPT | extra.extended,
|
||||
update(Object.create(extra), {
|
||||
onKeyPress: extra.onEvent || this.closure.onKeyPress,
|
||||
onKeyPress: extra.onKeyPress || this.closure.onKeyPress,
|
||||
leave: function leave(stack) {
|
||||
commandline.leave(stack);
|
||||
leave.supercall(extra, stack);
|
||||
|
||||
Reference in New Issue
Block a user