mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: fix discussion reaction
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -79,7 +79,7 @@ const reactionPage = new AutoloadPage('reactionPage', () => {
|
||||
const target = $(e.currentTarget);
|
||||
const res = await request.post('', {
|
||||
operation: 'reaction',
|
||||
type: target.parent().data('type'),
|
||||
nodeType: target.parent().data('type'),
|
||||
id: target.parent().data(target.parent().data('type')),
|
||||
emoji: target.text().trim().split(' ')[0],
|
||||
reverse: target.hasClass('active'),
|
||||
|
||||
Reference in new issue
Block a user