mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 12:45:27 +00:00
Bug 464084 - Clicking Search button in search bar highlights the default text (browser.urlbar.clickSelectsAll = true). r=enn
This commit is contained in:
parent
69b2417529
commit
3e533f06d7
@ -281,6 +281,7 @@
|
||||
<handler event="click">
|
||||
<![CDATA[
|
||||
if (!this.mIgnoreClick && this.clickSelectsAll &&
|
||||
document.activeElement == this.inputField &&
|
||||
this.inputField.selectionStart == this.inputField.selectionEnd)
|
||||
this.editor.selectAll();
|
||||
]]>
|
||||
|
Loading…
Reference in New Issue
Block a user