mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 276318 - Context menu search does not obey browser.tabs.loadInBackground pref. patch by Gavin Sharp <gavin.sharp@gmail.com> r=mconnor
This commit is contained in:
parent
1302f89c53
commit
1a1c09e363
@ -2479,7 +2479,7 @@ function OpenSearch(tabName, searchStr, newTabFlag)
|
||||
}
|
||||
else {
|
||||
var newTab = getBrowser().addTab(defaultSearchURL);
|
||||
if (!pref.getBoolPref("browser.tabs.loadInBackground"))
|
||||
if (!gPrefService.getBoolPref("browser.tabs.loadInBackground"))
|
||||
getBrowser().selectedTab = newTab;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user