]> git.wh0rd.org Git - tt-rss.git/commitdiff
headlines dropdown: reset scrollTop on display
authorAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 18:04:52 +0000 (19:04 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Tue, 20 Jan 2009 18:04:52 +0000 (19:04 +0100)
viewfeed.js

index de7f268129fa1ecaba33a240354b47b1e376a9de..bfe1eff4f334e063f26a0368cab42023442a9a92 100644 (file)
@@ -2050,6 +2050,7 @@ function toggleHeadlineActions() {
                        Element.hide(e);
                }
 
+               e.scrollTop = 0;
                e.style.left = (p.offsetLeft + 1) + "px";
 //             e.style.top = (p.offsetTop + p.offsetHeight - 1) + "px";