From a422968f92f877186ecafdf8b59fa155b028cb97 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 10 Oct 2006 04:58:08 +0100 Subject: [PATCH] scroll to top of prefContent on update --- prefs.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prefs.js b/prefs.js index e2cdd112..85ae91af 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 + ")"); -- 2.39.5