diff --git a/js/spellChecker/spellChecker.js b/js/spellChecker/spellChecker.js index 7af964f9..8666646f 100644 --- a/js/spellChecker/spellChecker.js +++ b/js/spellChecker/spellChecker.js @@ -41,12 +41,23 @@ class SpellCheckHelper { * @returns menu */ static processMenu(menu) { - menu.append(new MenuItem({ type: 'separator' })); - menu.append(new MenuItem({ - role: 'reload', - accelerator: 'CmdOrCtrl+R', - label: 'Reload' - })); + + let isLink = false; + menu.items.map((item) => { + if (item.label === 'Copy Link'){ + isLink = true; + } + return item; + }); + + if (!isLink){ + menu.append(new MenuItem({ type: 'separator' })); + menu.append(new MenuItem({ + role: 'reload', + accelerator: 'CmdOrCtrl+R', + label: 'Reload' + })); + } return menu; }