diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index f23efb28..3f0b8a9a 100644 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -460,8 +460,12 @@ const Board = () => { {}} key={`pl1-${thread.cid}`} onClick={() => {}} title="Link to this post">c/ { - setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid); + onClick={(e) => { + if (e.button === 2) return; + e.preventDefault(); + setIsReplyOpen(true); + setSelectedShortCid(thread.shortCid); + setSelectedParentCid(thread.cid); }} title="Reply to this post">{thread.shortCid}     @@ -554,8 +558,12 @@ const Board = () => { {}} key={`pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/ { - setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid); + onClick={(e) => { + if (e.button === 2) return; + e.preventDefault(); + setIsReplyOpen(true); + setSelectedShortCid(reply.shortCid); + setSelectedParentCid(reply.cid); }} title="Reply to this post">{reply.shortCid}   @@ -696,9 +704,15 @@ const Board = () => { {getDate(thread.timestamp)}   {}} key={`mob-no-${thread.cid}`} onClick={() => {}} title="Link to this post">c/ - { - setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid); - }} title="Reply to this post">{thread.shortCid} + { + if (e.button === 2) return; + e.preventDefault(); + setIsReplyOpen(true); + setSelectedShortCid(thread.shortCid); + setSelectedParentCid(thread.cid); + }} title="Reply to this post">{thread.shortCid} + {thread.link ? ( @@ -801,9 +815,15 @@ const Board = () => { {getDate(reply.timestamp)}  {}} key={`mob-pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/ - { - setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid) - }} title="Reply to this post">{reply.shortCid} + { + if (e.button === 2) return; + e.preventDefault(); + setIsReplyOpen(true); + setSelectedShortCid(reply.shortCid); + setSelectedParentCid(reply.cid); + }} title="Reply to this post">{reply.shortCid} + {reply.link ? (