1
0
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:
Andrew Dolgov
2018-12-06 20:55:51 +03:00
parent 75666ac7ab
commit 4cbc62d2a5
8 changed files with 36 additions and 19 deletions

View File

@@ -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);
}
}
});