scroll to top of prefContent on update
This commit is contained in:
parent
44cc6f204f
commit
a422968f92
1 changed files with 5 additions and 0 deletions
5
prefs.js
5
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 + ")");
|
||||
|
|
Loading…
Reference in a new issue