mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:15:56 +00:00
article note format updates
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user