mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
reverted cid buttons to links
This commit is contained in:
@@ -459,10 +459,10 @@ const Board = () => {
|
|||||||
|
|
||||||
<span key={`pn-${thread.cid}`} className="post-number post-number-desktop">
|
<span key={`pn-${thread.cid}`} className="post-number post-number-desktop">
|
||||||
<Link to={() => {}} key={`pl1-${thread.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
<Link to={() => {}} key={`pl1-${thread.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
||||||
<button id="reply-button" style={{ all: 'unset', cursor: 'pointer' }} key={`pl2-${thread.cid}`}
|
<Link to={`/p/${selectedAddress}/c/${thread.cid}`} id="reply-button" key={`pl2-${thread.cid}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid);
|
setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid);
|
||||||
}} title="Reply to this post">{thread.shortCid}</button>
|
}} title="Reply to this post">{thread.shortCid}</Link>
|
||||||
|
|
||||||
<span key={`rl1-${thread.cid}`}>
|
<span key={`rl1-${thread.cid}`}>
|
||||||
[
|
[
|
||||||
@@ -553,10 +553,10 @@ const Board = () => {
|
|||||||
|
|
||||||
<span key={`pn-${reply.cid}`} className="post-number post-number-desktop">
|
<span key={`pn-${reply.cid}`} className="post-number post-number-desktop">
|
||||||
<Link to={() => {}} key={`pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
<Link to={() => {}} key={`pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
||||||
<button id="reply-button" style={{ all: 'unset', cursor: 'pointer' }} key={`pl2-${reply.cid}`}
|
<Link to={`/p/${selectedAddress}/c/${thread.cid}`} id="reply-button" key={`pl2-${reply.cid}`}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid);
|
setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid);
|
||||||
}} title="Reply to this post">{reply.shortCid}</button>
|
}} title="Reply to this post">{reply.shortCid}</Link>
|
||||||
</span>
|
</span>
|
||||||
<button key={`pmb-${reply.cid}`} className="post-menu-button" onClick={() => {}} title="Post menu" style={{ all: 'unset', cursor: 'pointer' }} data-cmd="post-menu">▶</button>
|
<button key={`pmb-${reply.cid}`} className="post-menu-button" onClick={() => {}} title="Post menu" style={{ all: 'unset', cursor: 'pointer' }} data-cmd="post-menu">▶</button>
|
||||||
<div id="backlink-id" className="backlink">
|
<div id="backlink-id" className="backlink">
|
||||||
@@ -696,9 +696,9 @@ const Board = () => {
|
|||||||
{getDate(thread.timestamp)}
|
{getDate(thread.timestamp)}
|
||||||
|
|
||||||
<Link to={() => {}} key={`mob-no-${thread.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
<Link to={() => {}} key={`mob-no-${thread.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
||||||
<button id="reply-button" style={{ all: 'unset', cursor: 'pointer' }} key={`mob-no2-${thread.cid}`} onClick={() => {
|
<Link to={`/p/${selectedAddress}/c/${thread.cid}`} id="reply-button" key={`mob-no2-${thread.cid}`} onClick={() => {
|
||||||
setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid);
|
setIsReplyOpen(true); setSelectedShortCid(thread.shortCid); setSelectedParentCid(thread.cid);
|
||||||
}} title="Reply to this post">{thread.shortCid}</button>
|
}} title="Reply to this post">{thread.shortCid}</Link>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{thread.link ? (
|
{thread.link ? (
|
||||||
@@ -801,9 +801,9 @@ const Board = () => {
|
|||||||
<span key={`mob-dt-${reply.cid}`} className="date-time-mobile post-number-mobile">
|
<span key={`mob-dt-${reply.cid}`} className="date-time-mobile post-number-mobile">
|
||||||
{getDate(reply.timestamp)}
|
{getDate(reply.timestamp)}
|
||||||
<Link to={() => {}} key={`mob-pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
<Link to={() => {}} key={`mob-pl1-${reply.cid}`} onClick={() => {}} title="Link to this post">c/</Link>
|
||||||
<button id="reply-button" style={{ all: 'unset', cursor: 'pointer' }} key={`mob-pl2-${reply.cid}`} onClick={() => {
|
<Link to={`/p/${selectedAddress}/c/${thread.cid}`} id="reply-button" key={`mob-pl2-${reply.cid}`} onClick={() => {
|
||||||
setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid)
|
setIsReplyOpen(true); setSelectedShortCid(reply.shortCid); setSelectedParentCid(reply.cid)
|
||||||
}} title="Reply to this post">{reply.shortCid}</button>
|
}} title="Reply to this post">{reply.shortCid}</Link>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
{reply.link ? (
|
{reply.link ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user