Fix typos

This commit is contained in:
janekptacijarabaci 2018-07-29 12:29:40 +02:00 • committed by Roy Tam
commit ad8a1e1f50
4 changed files with 10 additions and 15 deletions

View file

@ -251,8 +251,9 @@ HistoryDownloadElementShell.prototype = {
if (this.element.selected) {
goUpdateDownloadCommands();
else
} else {
goUpdateCommand("downloadsCmd_clearDownloads");
}
},
onChanged() {
@ -720,7 +721,6 @@ DownloadsPlacesView.prototype = {
// the top of the richlistbox, along with other session downloads.
// More generally, if a new download is added, should be made visible.
this._richlistbox.ensureElementIsVisible(newOrUpdatedShell.element);
}
} else if (sessionDownload) {
let before = this._lastSessionDownloadElement ?
this._lastSessionDownloadElement.nextSibling : this._richlistbox.firstChild;