Revert "cdmExpandArticle: force-scroll to headline"

This reverts commit 4895f99b9a.
This commit is contained in:
Andrew Dolgov 2013-03-20 10:43:55 +04:00
parent 4895f99b9a
commit c582bf25dd
1 changed files with 7 additions and 1 deletions

View File

@ -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);