highlight the displayed mid and css fixes

This commit is contained in:
Mario Vavti
2016-09-29 11:28:27 +02:00
parent c530b4fb97
commit 3c9809bfe6
3 changed files with 27 additions and 17 deletions

View File

@@ -661,6 +661,7 @@ function updateConvItems(mode,data) {
$('#hide-comments-total-' + scrolltoid).hide();
}
$('html, body').animate({ scrollTop: $('.item_' + bParam_mid.substring(0,32)).offset().top - $('nav').outerHeight() }, 'slow');
$('.item_' + bParam_mid.substring(0,32)).addClass('item-highlight');
}
}