diff --git a/client/modules/menu.js b/client/modules/menu.js index a51af6f4..1a9d907a 100644 --- a/client/modules/menu.js +++ b/client/modules/menu.js @@ -103,25 +103,6 @@ function MenuProto(Position) { return MenuContextFile; } - function getMenuNameByEl(el) { - if (!el) - return 'context'; - - const name = DOM.getCurrentName(el); - - if (name === '..') - return 'context' - - return 'contextFile' - }; - - function getMenuByName(name) { - if (name === 'context') - return MenuContext; - - return MenuContextFile; - } - function show(position) { const {x, y} = getPosition(position);