Reloading comment list via event 'pillar:comment-posted' on body element.

This commit is contained in:
2016-11-02 16:11:31 +01:00
parent 80601f75ed
commit 4ec3268a23
2 changed files with 16 additions and 10 deletions

View File

@@ -34,6 +34,8 @@
}
$.fn.scrollHere = function(scroll_duration_msec) {
if ($(this).length == 0) return;
$('html, body').animate({
scrollTop: this.offset().top
}, scroll_duration_msec);