Revert "cdmExpandArticle: force-scroll to headline"
This reverts commit 4895f99b9a
.
This commit is contained in:
parent
4895f99b9a
commit
c582bf25dd
|
@ -1365,7 +1365,6 @@ function cdmExpandArticle(id) {
|
|||
}
|
||||
|
||||
setActiveArticleId(id);
|
||||
cdmScrollToArticleId(id, true);
|
||||
|
||||
elem = $("CICD-" + id);
|
||||
|
||||
|
@ -1378,6 +1377,13 @@ 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