diff options
Diffstat (limited to 'plugins/note/note.js')
-rw-r--r-- | plugins/note/note.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/note/note.js b/plugins/note/note.js index 21c1ae51e..7ea76798c 100644 --- a/plugins/note/note.js +++ b/plugins/note/note.js @@ -20,14 +20,15 @@ Plugins.Note = { if (reply) { ArticleCache.del(id); - var elem = $("POSTNOTE-" + id); + const elem = $("POSTNOTE-" + id); if (elem) { - Element.hide(elem); elem.innerHTML = reply.note; if (reply.raw_length != 0) - new Effect.Appear(elem); + Element.show(elem); + else + Element.hide(elem); } } }); |