зеркало из https://github.com/mozilla/pjs.git
Bug 534840 - opening a new tab and loading google.com with Ctrl+K keeps focus in the location bar rather than focusing the search field. r=gavin
This commit is contained in:
Родитель
afc97248e8
Коммит
e9b6bec5e9
|
@ -3102,7 +3102,7 @@ const BrowserSearch = {
|
|||
var ss = Cc["@mozilla.org/browser/search-service;1"].
|
||||
getService(Ci.nsIBrowserSearchService);
|
||||
var searchForm = ss.defaultEngine.searchForm;
|
||||
loadURI(searchForm, null, null, false);
|
||||
openUILinkIn(searchForm, "current");
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче