We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d6577d commit 424473fCopy full SHA for 424473f
common/content/services.js
@@ -14,9 +14,13 @@ const Services = Module("services", {
14
init: function () {
15
this.classes = {};
16
this.jsm = window.Services;
17
+ let autoCompleteSearchQueryValue = "unifiedcomplete";
18
+ if (this.jsm["vc"].compare(VERSION, "49") < 0) {
19
+ autoCompleteSearchQueryValue = "history";
20
+ }
21
this.services = {
22
"autoCompleteSearch": {
- class_: "@mozilla.org/autocomplete/search;1?name=history",
23
+ class_: "@mozilla.org/autocomplete/search;1?name=" + autoCompleteSearchQueryValue,
24
iface: Ci.nsIAutoCompleteSearch
25
},
26
"bookmarks": {
0 commit comments