diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-01-11 23:28:01 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-01-11 23:28:01 -0500 |
commit | 76842038dc50b1282a5eb34b5952413ad5337ec9 (patch) | |
tree | 3fb30b92dd6ba04607cd0210dde88f3a0eacb971 /common/modules/completion.jsm | |
parent | 7ffdb4af7bac9810d1a5fbf9fad74b804b9be8d5 (diff) | |
download | pentadactyl-76842038dc50b1282a5eb34b5952413ad5337ec9.tar.gz |
Fix search suggestions.
Diffstat (limited to 'common/modules/completion.jsm')
-rw-r--r-- | common/modules/completion.jsm | 6 |
1 files changed, 3 insertions, 3 deletions
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: {}, |