aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-15 15:43:24 -0400
committerbobzel <zzzman@gmail.com>2021-09-15 15:43:24 -0400
commit1395ce3fbf73bf5df5ed4add744c333cfc8008c9 (patch)
treeac3b3c91e1e286dce93c4ec215f169f60e0be6fd /src/client/views/MainView.tsx
parentc3758877393812d5c25230b486d1b235796fc1bc (diff)
another windows fix for contextmenus on web pages
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 5bda9f6bf..d854f118f 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -214,6 +214,7 @@ export class MainView extends React.Component {
}
}
}, false);
+ document.oncontextmenu = () => false;
}
initAuthenticationRouters = async () => {