1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-21 15:51:28 +00:00

scroll to top of prefContent on update

This commit is contained in:
Andrew Dolgov
2006-10-10 04:58:08 +01:00
parent 44cc6f204f
commit a422968f92

View File

@@ -1122,6 +1122,11 @@ function selectTab(id, noupdate) {
return
}
try {
var c = document.getElementById('prefContent');
c.scrollTop = 0;
} catch (e) { };
if (!noupdate) {
debug("selectTab: " + id + "(NU: " + noupdate + ")");