Skip to content

Commit

Permalink
Fix incorrect quoting
Browse files Browse the repository at this point in the history
  • Loading branch information
nanaya committed Dec 15, 2024
1 parent 7b3e1a8 commit b47b0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/src/classes/upload_similar_search.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default class UploadSimilarSearch
(post) => "/post/show/#{post.id}"
posts = json.posts.slice(0, shownPosts).map (post) =>
"<a href='#{makeUrl(post)}'>post ##{post.id}</a>"
seeAll = "<a href='/post/similar?search_id='#{json.search_id}'>(see all)</a>"
seeAll = "<a href='/post/similar?search_id=#{json.search_id}'>(see all)</a>"
html = "Similar posts #{seeAll}: #{posts.join(', ')}"

if json.posts.length > shownPosts
Expand Down

0 comments on commit b47b0ac

Please sign in to comment.