зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1582375 - Focus the urlbar when clicking directly on the input container (this includes the search glass which doesn't consume pointer events). r=harry
Differential Revision: https://phabricator.services.mozilla.com/D47237 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
8bf77b9030
Коммит
6135c6c044
|
@ -1779,6 +1779,9 @@ class UrlbarInput {
|
|||
break;
|
||||
case this.textbox:
|
||||
this._mousedownOnUrlbarDescendant = true;
|
||||
if (event.target == this._inputContainer) {
|
||||
this.focus();
|
||||
}
|
||||
break;
|
||||
case this.window:
|
||||
if (this._mousedownOnUrlbarDescendant) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче