fix(comment): 修复评论区无法打开问题

This commit is contained in:
nineya 2023-07-15 17:50:40 +08:00
parent 7d6563a7d0
commit 2854d4c1a5
2 changed files with 2 additions and 2 deletions

View File

@ -412,7 +412,7 @@ const commonContext = {
let target = $(this).attr('data-target') let target = $(this).attr('data-target')
let id = $(this).attr('data-id') let id = $(this).attr('data-id')
CommentWidget.init( CommentWidget.init(
`.widget-comment[data-id=${id}][data-target=${target}]`, `.widget-comment[data-id='${id}'][data-target='${target}']`,
'/plugins/PluginCommentWidget/assets/static/style.css', '/plugins/PluginCommentWidget/assets/static/style.css',
{ {
group: 'content.halo.run', group: 'content.halo.run',

File diff suppressed because one or more lines are too long