1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 22:55:55 +00:00

prefs: only reset content scrollTop when tab is actually changed

This commit is contained in:
Andrew Dolgov
2009-10-06 15:51:15 +04:00
parent 3d48d3a15f
commit c97706bbee

View File

@@ -1054,8 +1054,10 @@ function selectTab(id, noupdate, subop) {
try {
try {
if (id != active_tab) {
var c = $('prefContent');
c.scrollTop = 0;
}
} catch (e) { };
if (!noupdate) {