mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
7e08eed13a
commit
6c42deee0b
@ -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