basic opening and switching tabs

This commit is contained in:
zadam
2019-05-03 21:50:14 +02:00
parent c7b5784123
commit 39093cbc4c
6 changed files with 44 additions and 39 deletions

View File

@@ -36,6 +36,8 @@ async function initContextMenu(event, contextMenu) {
contextMenu.selectContextMenuItem(e, cmd);
hideContextMenu();
// it's important to stop the propagation especially for sub-menus, otherwise the event
// might be handled again by top-level menu
return false;