Browse Source

add mark newly sent replies as .new

readme-update
Simon Grim 6 years ago
parent
commit
2d1d966203
  1. 1
      js/interface_common.js

1
js/interface_common.js

@ -2495,6 +2495,7 @@ function postSubmit(e, oldLastPostId) { @@ -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')
;

Loading…
Cancel
Save