зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1503529 - QuantumBar: Implement support for browser.urlbar.openintab preference. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D14677 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
eeb8faea6e
Коммит
ac5edcdfc7
|
@ -617,7 +617,7 @@ class UrlbarInput {
|
|||
} else {
|
||||
where = this.window.whereToOpenLink(event, false, false);
|
||||
}
|
||||
if (this.openInTab) {
|
||||
if (UrlbarPrefs.get("openintab")) {
|
||||
if (where == "current") {
|
||||
where = "tab";
|
||||
} else if (where == "tab") {
|
||||
|
|
|
@ -87,6 +87,10 @@ const PREF_URLBAR_DEFAULTS = new Map([
|
|||
// The maximum number of results in the urlbar popup.
|
||||
["maxRichResults", 10],
|
||||
|
||||
// Whether addresses and search results typed into the address bar
|
||||
// should be opened in new tabs by default.
|
||||
["openintab", false],
|
||||
|
||||
// Results will include the user's bookmarks when this is true.
|
||||
["suggest.bookmark", true],
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче