diff options
author | Andrew Dolgov <[email protected]> | 2007-03-26 06:23:15 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-03-26 06:23:15 +0100 |
commit | 4049672041287a491919c01d80017c7b767c3461 (patch) | |
tree | 83c41485f54559c303e2578adb8f383647d245ab /tt-rss.js | |
parent | cdbb6dc62652adfe754fa894720efef4758fb311 (diff) |
add persistent storage for toolbar view options, bump schema
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |