From: Andrew Dolgov Date: Tue, 20 Jan 2009 18:04:52 +0000 (+0100) Subject: headlines dropdown: reset scrollTop on display X-Git-Tag: 1.3.0~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b62f6ff448e8af386b4e0ff662098522d6332a52;p=tt-rss.git headlines dropdown: reset scrollTop on display --- diff --git a/viewfeed.js b/viewfeed.js index de7f2681..bfe1eff4 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -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";