diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2016-02-02 23:05:16 +0100 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2016-02-02 23:07:11 +0100 |
commit | 9ad36d04c3a352afc6f9a1322c7401200332877a (patch) | |
tree | 6e12cf2b67b016aff38874c389b5bf8b5242749a /src/web/js/actions | |
parent | displaying more informations on articles (diff) | |
download | newspipe-9ad36d04c3a352afc6f9a1322c7401200332877a.tar.gz newspipe-9ad36d04c3a352afc6f9a1322c7401200332877a.tar.bz2 newspipe-9ad36d04c3a352afc6f9a1322c7401200332877a.zip |
reload and fold all button
Diffstat (limited to 'src/web/js/actions')
-rw-r--r-- | src/web/js/actions/MenuActions.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/web/js/actions/MenuActions.js b/src/web/js/actions/MenuActions.js index d3a0d25d..b9154581 100644 --- a/src/web/js/actions/MenuActions.js +++ b/src/web/js/actions/MenuActions.js @@ -26,6 +26,12 @@ var MenuActions = { filter: filter, }); }, + toggleAllFolding: function(all_folded) { + JarrDispatcher.dispatch({ + type: ActionTypes.TOGGLE_MENU_FOLD, + all_folded: all_folded, + }); + }, }; module.exports = MenuActions; |