diff options
author | Andrew Dolgov <[email protected]> | 2006-10-10 04:58:08 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-10-10 04:58:08 +0100 |
commit | a422968f92f877186ecafdf8b59fa155b028cb97 (patch) | |
tree | 074df5e5bbe227cefaffa60866bb2fd545555552 /prefs.js | |
parent | 44cc6f204f526c02874f0b5e133eab0b4c57cf7e (diff) |
scroll to top of prefContent on update
Diffstat (limited to 'prefs.js')
-rw-r--r-- | prefs.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 + ")"); |