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
1 changed files with 5 additions and 0 deletions

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 + ")");