From 76842038dc50b1282a5eb34b5952413ad5337ec9 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 11 Jan 2011 23:28:01 -0500 Subject: Fix search suggestions. --- common/modules/completion.jsm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/modules/completion.jsm') diff --git a/common/modules/completion.jsm b/common/modules/completion.jsm index fd8e9307..21419c62 100644 --- a/common/modules/completion.jsm +++ b/common/modules/completion.jsm @@ -912,9 +912,9 @@ var Completion = Module("completion", { // Will, and should, throw an error if !(c in opts) Array.forEach(complete, function (c) { - let completer = completion.urlCompleters[c]; - context.fork.apply(context, [c, 0, completion, completer.completer].concat(completer.args)); - }); + let completer = this.urlCompleters[c]; + context.fork.apply(context, [c, 0, this, completer.completer].concat(completer.args)); + }, this); }, urlCompleters: {}, -- cgit v1.2.3