mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 12:17:59 +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);
|
||||
|
||||
@@ -332,7 +332,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
([^]*?) // 1
|
||||
(?:
|
||||
(<\{) | // 2
|
||||
(< ((?:[a-z]-)?[a-z-]*?) >) | // 3 4
|
||||
(< ((?:[a-z]-)?[a-z-]+?) >) | // 3 4
|
||||
(\}>) // 5
|
||||
)
|
||||
]]>, "giy");
|
||||
|
||||
Reference in New Issue
Block a user