fixed context menus in relation map

This commit is contained in:
azivner
2018-11-09 22:18:51 +01:00
parent 4f34fb802b
commit 3750919169
4 changed files with 97 additions and 97 deletions

View File

@@ -30,6 +30,8 @@ function initContextMenu(event, contextMenuItems, selectContextMenuItem) {
$item.click(async function (e) {
const cmd = $(e.target).prop("data-cmd");
e.originalTarget = event.target;
await selectContextMenuItem(e, cmd);
});