summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-03-26 06:23:15 +0100
committerAndrew Dolgov <[email protected]>2007-03-26 06:23:15 +0100
commit4049672041287a491919c01d80017c7b767c3461 (patch)
tree83c41485f54559c303e2578adb8f383647d245ab /tt-rss.js
parentcdbb6dc62652adfe754fa894720efef4758fb311 (diff)
add persistent storage for toolbar view options, bump schema
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tt-rss.js b/tt-rss.js
index bc5bc8205..5f913f86f 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -386,10 +386,10 @@ function init_second_stage() {
document.onkeydown = hotkey_handler;
- var tb = parent.document.forms["main_toolbar_form"];
+ var toolbar = document.forms["main_toolbar_form"];
- dropboxSelect(tb.view_mode, getInitParam("toolbar_view_mode"));
- dropboxSelect(tb.limit, getInitParam("toolbar_limit"));
+ dropboxSelect(toolbar.view_mode, getInitParam("default_view_mode"));
+ dropboxSelect(toolbar.limit, getInitParam("default_view_limit"));
daemon_enabled = getInitParam("daemon_enabled") == 1;
daemon_refresh_only = getInitParam("daemon_refresh_only") == 1;