fix(core): update

This commit is contained in:
2023-09-08 11:44:03 +02:00
parent 2465ce5f9b
commit 03a46a72c5
2 changed files with 2 additions and 1 deletions

View File

@@ -79,6 +79,7 @@ export class DeesContextmenu extends DeesElement {
// STATIC
public static async openContextMenuWithOptions(eventArg: MouseEvent, menuItemsArg: plugins.tsclass.website.IMenuItem[]) {
eventArg.preventDefault();
eventArg.stopPropagation();
const contextMenu = new DeesContextmenu();
contextMenu.style.position = 'absolute';
contextMenu.style.zIndex = '2000';