cdmExpandArticle: force-scroll to headline
This commit is contained in:
parent
6e2ed9cf65
commit
4895f99b9a
|
@ -1365,6 +1365,7 @@ function cdmExpandArticle(id) {
|
|||
}
|
||||
|
||||
setActiveArticleId(id);
|
||||
cdmScrollToArticleId(id, true);
|
||||
|
||||
elem = $("CICD-" + id);
|
||||
|
||||
|
@ -1377,13 +1378,6 @@ function cdmExpandArticle(id) {
|
|||
Element.show(collapse);
|
||||
}
|
||||
|
||||
/* var new_offset = $("RROW-" + id).offsetTop;
|
||||
|
||||
$("headlines-frame").scrollTop += (new_offset-old_offset);
|
||||
|
||||
if ($("RROW-" + id).offsetTop != old_offset)
|
||||
$("headlines-frame").scrollTop = new_offset; */
|
||||
|
||||
toggleUnread(id, 0, true);
|
||||
toggleSelected(id);
|
||||
|
||||
|
|
Loading…
Reference in New Issue