prefs: only reset content scrollTop when tab is actually changed

master
Andrew Dolgov 15 years ago
parent 3d48d3a15f
commit c97706bbee

@ -1054,8 +1054,10 @@ function selectTab(id, noupdate, subop) {
try {
try {
var c = $('prefContent');
c.scrollTop = 0;
if (id != active_tab) {
var c = $('prefContent');
c.scrollTop = 0;
}
} catch (e) { };
if (!noupdate) {

Loading…
Cancel
Save