mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-26 14:44:34 +00:00
add mark newly sent replies as .new
This commit is contained in:
parent
37fad362ee
commit
2d1d966203
@ -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
|
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()
|
postToElem(ret, 'related').hide()
|
||||||
|
.addClass('new')
|
||||||
.appendTo(formerPostElem.next().children('.sub-replies'))
|
.appendTo(formerPostElem.next().children('.sub-replies'))
|
||||||
.slideDown('fast')
|
.slideDown('fast')
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user