]> git.wh0rd.org Git - tt-rss.git/commitdiff
cdmExpandArticle: do not perform offset manipulation
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Feb 2013 19:04:23 +0000 (23:04 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 27 Feb 2013 19:04:23 +0000 (23:04 +0400)
js/viewfeed.js

index 20a3e2b161c5e3b6d836e0485dd7152fa040f7b1..b8dc05aed36cf37b9cbb8659bd8ba8e4d6ba07c9 100644 (file)
@@ -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);