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:
Jared Wein 2016-06-24 21:36:40 -04:00
parent 568b6e3746
commit 5345120a69

View File

@ -302,9 +302,8 @@ HistoryDownloadElementShell.prototype = {
if (this.element.selected) {
goUpdateDownloadCommands();
} else {
goUpdateCommand("downloadsCmd_clearDownloads");
}
goUpdateCommand("downloadsCmd_clearDownloads");
},
onChanged() {