scroll to top of prefContent on update

master
Andrew Dolgov 18 years ago
parent 44cc6f204f
commit a422968f92

@ -1122,6 +1122,11 @@ function selectTab(id, noupdate) {
return return
} }
try {
var c = document.getElementById('prefContent');
c.scrollTop = 0;
} catch (e) { };
if (!noupdate) { if (!noupdate) {
debug("selectTab: " + id + "(NU: " + noupdate + ")"); debug("selectTab: " + id + "(NU: " + noupdate + ")");

Loading…
Cancel
Save