diff --git a/js/contextMenus.js b/js/contextMenus.js index 231eac3bf96..f88d0142a3e 100644 --- a/js/contextMenus.js +++ b/js/contextMenus.js @@ -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: () => {