diff --git a/client/modules/menu/index.js b/client/modules/menu/index.js index b060a6f1..b2e321c9 100644 --- a/client/modules/menu/index.js +++ b/client/modules/menu/index.js @@ -213,6 +213,7 @@ function beforeShow(callback, params) { y: params.y, }, } = params; + const {x, y} = position; const el = DOM.getCurrentByPosition({