diff options
Diffstat (limited to 'src-vue/src/plugins')
-rw-r--r-- | src-vue/src/plugins/store.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 3d55d2a4..b51f97e5 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -290,6 +290,9 @@ async function _initializeApp(state: any) { if (menu_bar_handle !== null) { menu_bar_handle.classList.toggle('developer_build'); } + } else { + // Disable context menu in release build. + document.addEventListener('contextmenu', event => event.preventDefault()); } // Grab Northstar release canal value from store if exists |