From 0706f875f2869111699cd11c43f65e792ece7d7e Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 16 Jun 2022 09:08:07 -0400
Subject: fixed clicking on context menu icon in dashboard view to open
 contexts menu

---
 src/client/views/DashboardView.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'src/client/views/DashboardView.tsx')

diff --git a/src/client/views/DashboardView.tsx b/src/client/views/DashboardView.tsx
index 37a70f165..9f497dcbf 100644
--- a/src/client/views/DashboardView.tsx
+++ b/src/client/views/DashboardView.tsx
@@ -117,10 +117,10 @@ export class DashboardView extends React.Component {
                                           <div className="info">
                                                 <div className="title"> {StrCast(dashboard.title)} </div>
                                                 <div className="more" onPointerDown={e => {
-                                                    this._downX = e.clientX;
-                                                    this._downY = e.clientY;
-                                                }} 
-                                                onContextMenu={(e) => {this.onContextMenu(dashboard, e)}}
+                                                        this._downX = e.clientX;
+                                                        this._downY = e.clientY;
+                                                    }} 
+                                                    onClick={(e) => {this.onContextMenu(dashboard, e)}}
                                                 >
                                                       <FontAwesomeIcon color="black" size="lg" icon="bars" />
                                                 </div>
-- 
cgit v1.2.3-70-g09d2

