summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 + ")");