2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-30 21:45:13 +00:00

Fix incorrect quoting

This commit is contained in:
nanaya
2024-12-16 02:31:36 +09:00
parent 7b3e1a859c
commit b47b0ac70e

View File

@@ -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