From: Andrew Dolgov Date: Wed, 27 Feb 2013 19:04:23 +0000 (+0400) Subject: cdmExpandArticle: do not perform offset manipulation X-Git-Tag: 1.7.1~22^2~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=67cad82e60f8a2d9b479410babd98cae59c0bc2e;p=tt-rss.git cdmExpandArticle: do not perform offset manipulation --- 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);