cdmExpandArticle: do not perform offset manipulation

master
Andrew Dolgov 12 years ago
parent c2e4e8fe91
commit 67cad82e60

@ -1358,12 +1358,12 @@ function cdmExpandArticle(id) {
Element.hide("CEXC-" + id);
}
var new_offset = $("RROW-" + id).offsetTop;
/* var new_offset = $("RROW-" + id).offsetTop;
$("headlines-frame").scrollTop += (new_offset-old_offset);
if ($("RROW-" + id).offsetTop != old_offset)
$("headlines-frame").scrollTop = new_offset;
$("headlines-frame").scrollTop = new_offset; */
toggleUnread(id, 0, true);
toggleSelected(id);

Loading…
Cancel
Save