diff options
author | bobzel <zzzman@gmail.com> | 2022-06-16 09:08:07 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-16 09:08:07 -0400 |
commit | 0706f875f2869111699cd11c43f65e792ece7d7e (patch) | |
tree | 3c15bb69f5ceb1624fafd7d0684977b45cab2bfb | |
parent | 6dc7a0d37f055c57135b91d4d54174ee156b61f5 (diff) |
fixed clicking on context menu icon in dashboard view to open contexts menu
-rw-r--r-- | src/client/views/DashboardView.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
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> |