Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Extra separator in the about:downloads right click context menu
Browse files Browse the repository at this point in the history
Fix #3908

Auditors: @aekeus

Test Plan: See issue STR
  • Loading branch information
bbondy committed Sep 12, 2016
1 parent dcc4a8f commit e3e0b3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/contextMenus.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,12 +188,12 @@ function downloadsToolbarTemplateInit (downloadId, downloadItem) {
click: downloadActions.clearDownload.bind(null, downloads, downloadId)
})
}
if (menu.length) {
menu.push(CommonMenu.separatorMenuItem)
}
}

if (windowStore.getState().getIn(['ui', 'downloadsToolbar', 'isVisible'])) {
if (menu.length) {
menu.push(CommonMenu.separatorMenuItem)
}
menu.push({
label: locale.translation('downloadToolbarHide'),
click: () => {
Expand Down

0 comments on commit e3e0b3e

Please sign in to comment.