diff options
author | Andrew Dolgov <[email protected]> | 2013-03-30 19:55:52 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-03-30 19:55:52 +0400 |
commit | 22af12326989980dbed22c3bfcb73067d52804a8 (patch) | |
tree | d44c8ba45a18fded7b6b736a8c42037994f00fd4 /js | |
parent | 583dbc56953afbad6ccae5e3add15160e23b68e4 (diff) |
make toggling combined mode work without reload
Diffstat (limited to 'js')
-rw-r--r-- | js/tt-rss.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js index cb7c0ab2d..6c921c258 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -480,8 +480,13 @@ function init() { new Ajax.Request("backend.php", { parameters: query, onComplete: function(transport) { - window.location.reload(); - } }); + setInitParam("combined_display_mode", + !getInitParam("combined_display_mode")); + + closeArticlePanel(); + viewCurrentFeed(); + + } }); }; hotkey_actions["toggle_cdm_expanded"] = function() { notify_progress("Loading, please wait..."); |