diff --git a/common/content/commandline.js b/common/content/commandline.js index 12a156b5..0d7e4561 100644 --- a/common/content/commandline.js +++ b/common/content/commandline.js @@ -1466,15 +1466,15 @@ var CommandLine = Module("commandline", { }); bind(["", ""], "Select the next matching completion item", - function ({ events, self }) { + function ({ keypressEvents, self }) { dactyl.assert(self.completions); - self.completions.tabTimer.tell(events[0]); + self.completions.tabTimer.tell(keypressEvents[0]); }); bind(["", ""], "Select the previous matching completion item", - function ({ events, self }) { + function ({ keypressEvents, self }) { dactyl.assert(self.completions); - self.completions.tabTimer.tell(events[0]); + self.completions.tabTimer.tell(keypressEvents[0]); }); bind(["", ""], "Delete the previous character",