mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 815273 - Don't force focus the Downloads Panel "Show all downloads" button when opening the panel. r=mak.
This commit is contained in:
parent
c88168fd91
commit
9c09856253
@ -2,6 +2,12 @@
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
/*** Download panel ***/
|
||||
|
||||
#downloadsPanel {
|
||||
-moz-user-focus: normal;
|
||||
}
|
||||
|
||||
/*** Download items ***/
|
||||
|
||||
richlistitem[type="download"] {
|
||||
|
@ -356,7 +356,7 @@ const DownloadsPanel = {
|
||||
if (DownloadsView.richListBox.itemCount > 0) {
|
||||
DownloadsView.richListBox.focus();
|
||||
} else {
|
||||
DownloadsView.downloadsHistory.focus();
|
||||
this.panel.focus();
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user