diff --git a/frontend/server/views/panels/mouseinfo.ejs b/frontend/server/views/panels/mouseinfo.ejs
index 20981dec..fd4ca53c 100644
--- a/frontend/server/views/panels/mouseinfo.ejs
+++ b/frontend/server/views/panels/mouseinfo.ejs
@@ -88,11 +88,9 @@
-
diff --git a/frontend/website/plugins/controltips/src/controltipsplugin.ts b/frontend/website/plugins/controltips/src/controltipsplugin.ts
index 4d2bfe4d..f68f7add 100644
--- a/frontend/website/plugins/controltips/src/controltipsplugin.ts
+++ b/frontend/website/plugins/controltips/src/controltipsplugin.ts
@@ -204,6 +204,11 @@ export class ControlTipsPlugin implements OlympusPlugin {
"key": `Period`,
"action": "Increase precision",
"mouseoverSelector": `#coordinates-tool[data-location-system="MGRS"], #coordinates-tool[data-location-system="MGRS"] *`
+ },
+ {
+ "key": `Mouse2`,
+ "action": "Copy to clipboard",
+ "mouseoverSelector": `#unit-coordinates-container > #unit-coordinates > .mouse-tool-item > .copyable`
}
]
},
diff --git a/frontend/website/src/panels/mouseinfopanel.ts b/frontend/website/src/panels/mouseinfopanel.ts
index 1b3a0d05..4431d378 100644
--- a/frontend/website/src/panels/mouseinfopanel.ts
+++ b/frontend/website/src/panels/mouseinfopanel.ts
@@ -110,7 +110,7 @@ export class MouseInfoPanel extends Panel {
const copyableElements = document.getElementsByClassName('copyable');
for (const element of copyableElements) {
- element.addEventListener('click', (ev) => {
+ element.addEventListener('contextmenu', (ev) => {
if (!ev.target) return;
const el = ev.target as HTMLElement;