mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 15:41:28 +00:00
scroll to top of prefContent on update
This commit is contained in:
5
prefs.js
5
prefs.js
@@ -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 + ")");
|
||||||
|
|||||||
Reference in New Issue
Block a user