add mark newly sent replies as .new

This commit is contained in:
Simon Grim 2018-10-21 19:59:44 +05:00
parent 37fad362ee
commit 2d1d966203

View File

@ -2495,6 +2495,7 @@ function postSubmit(e, oldLastPostId) {
formerPostElem.after($('<li class="post-replies"><ol class="sub-replies"></ol></li>')); // FIXME replace with template as like as a reqRepAfterCB()'s similar thing
postToElem(ret, 'related').hide()
.addClass('new')
.appendTo(formerPostElem.next().children('.sub-replies'))
.slideDown('fast')
;