diff --git a/css/global.css b/css/global.css index 1f59a51..efdb9e2 100644 --- a/css/global.css +++ b/css/global.css @@ -41,7 +41,7 @@ li a:hover { a { text-decoration: none; } -a:link, a:visited { +a:link:not(.no-link-style), a:visited:not(.no-link-style) { color: var(--green); } a:hover { diff --git a/js/posts.js b/js/posts.js index 2553a68..56aa0f9 100644 --- a/js/posts.js +++ b/js/posts.js @@ -133,6 +133,8 @@ async function createPost(username,text,time,specialtext,postid,isbot,reply_id) replyA.innerHTML += filterPost(reply_text.replace("\n"," ").substring(0,20)) replyA.appendChild(replyBr) + replyA.classList.add("no-link-style") + replyDiv.appendChild(replyA) newDiv.appendChild(replyDiv)