mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-03 13:21:00 +01:00
save active preferences tab
This commit is contained in:
parent
e31dca1406
commit
4da47970fb
6
prefs.js
6
prefs.js
@ -1181,6 +1181,8 @@ function selectTab(id) {
|
||||
|
||||
active_tab = id;
|
||||
|
||||
setCookie('ttrss_pref_acttab', active_tab);
|
||||
|
||||
}
|
||||
|
||||
function init() {
|
||||
@ -1195,7 +1197,9 @@ function init() {
|
||||
return;
|
||||
}
|
||||
|
||||
selectTab("genConfig");
|
||||
active_tab = getCookie("ttrss_pref_acttab");
|
||||
if (!active_tab) active_tab = "genConfig";
|
||||
selectTab(active_tab);
|
||||
|
||||
document.onkeydown = hotkey_handler;
|
||||
notify("");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user