diff --git a/src/main/views/webContentEvents.ts b/src/main/views/webContentEvents.ts index 2a54ca25..a2484fd8 100644 --- a/src/main/views/webContentEvents.ts +++ b/src/main/views/webContentEvents.ts @@ -8,6 +8,8 @@ import {TeamWithTabs} from 'types/config'; import urlUtils from 'common/utils/url'; +import ContextMenu from 'main/contextMenu'; + import * as WindowManager from '../windows/windowManager'; import {protocols} from '../../../electron-builder.json'; @@ -190,6 +192,9 @@ const generateNewWindowListener = (getServersFunction: () => TeamWithTabs[], spe userAgent: composeUserAgent(), }); } + + const contextMenu = new ContextMenu({}, popupWindow); + contextMenu.reload(); } return {action: 'deny'};