From 67cad82e60f8a2d9b479410babd98cae59c0bc2e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Feb 2013 23:04:23 +0400 Subject: [PATCH] cdmExpandArticle: do not perform offset manipulation --- js/viewfeed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/viewfeed.js b/js/viewfeed.js index 20a3e2b1..b8dc05ae 100644 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -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); -- 2.39.5