diff options
Diffstat (limited to 'plugins/note/note.js')
-rw-r--r-- | plugins/note/note.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/plugins/note/note.js b/plugins/note/note.js index 21c1ae51e..0c811000d 100644 --- a/plugins/note/note.js +++ b/plugins/note/note.js @@ -18,16 +18,15 @@ Plugins.Note = { dialog.hide(); 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); } } }); |