summaryrefslogtreecommitdiff
path: root/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-10 04:58:08 +0100
committerAndrew Dolgov <[email protected]>2006-10-10 04:58:08 +0100
commita422968f92f877186ecafdf8b59fa155b028cb97 (patch)
tree074df5e5bbe227cefaffa60866bb2fd545555552 /prefs.js
parent44cc6f204f526c02874f0b5e133eab0b4c57cf7e (diff)
scroll to top of prefContent on update
Diffstat (limited to 'prefs.js')
-rw-r--r--prefs.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/prefs.js b/prefs.js
index e2cdd1126..85ae91afc 100644
--- a/prefs.js
+++ b/prefs.js
@@ -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 + ")");