diff options
author | FChannel <=> | 2021-01-26 11:54:53 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-26 11:54:53 -0800 |
commit | 2868cbabf7c394c637fc8568c6981da6eb5370ca (patch) | |
tree | ef485ab567241541e23c45f581e8c0493482c3b9 /static | |
parent | 4f42982f3bfa16a934fef2a6c5c6e4d153d45b4e (diff) |
individual post view cache
Diffstat (limited to 'static')
-rw-r--r-- | static/js/posts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/js/posts.js b/static/js/posts.js index 7c1a3e8..69c451a 100644 --- a/static/js/posts.js +++ b/static/js/posts.js @@ -125,8 +125,8 @@ function convertContent(actorName, content, opid) { isOP = " (OP)"; } - - newContent = newContent.replace(quote, '<a title="' + link + '" href="/'+ getBoardId(actorName) + "/" + shortURL(actorName, opid) + '#' + shortURL(actorName, link) + '"style="color:#af0a0f;">>>' + shortURL(actorName, link) + isOP + '</a>'); + + newContent = newContent.replace(quote, '<a title="' + link + '" href="'+ (actorName) + "/" + shortURL(actorName, opid) + '#' + shortURL(actorName, link) + '"style="color:#af0a0f;">>>' + shortURL(actorName, link) + isOP + '</a>'); }) } |