mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1280799 - Update the state of the 'Clear Downloads' button when download item state changes, even if the item is selected. r=paolo
MozReview-Commit-ID: 2YXLDuBxkTe
This commit is contained in:
parent
568b6e3746
commit
5345120a69
@ -302,9 +302,8 @@ HistoryDownloadElementShell.prototype = {
|
||||
|
||||
if (this.element.selected) {
|
||||
goUpdateDownloadCommands();
|
||||
} else {
|
||||
goUpdateCommand("downloadsCmd_clearDownloads");
|
||||
}
|
||||
goUpdateCommand("downloadsCmd_clearDownloads");
|
||||
},
|
||||
|
||||
onChanged() {
|
||||
|
Loading…
Reference in New Issue
Block a user