aboutsummaryrefslogtreecommitdiff
path: root/src/web/js/actions
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2016-02-02 23:05:16 +0100
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-02-02 23:07:11 +0100
commit9ad36d04c3a352afc6f9a1322c7401200332877a (patch)
tree6e12cf2b67b016aff38874c389b5bf8b5242749a /src/web/js/actions
parentdisplaying more informations on articles (diff)
downloadnewspipe-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.js6
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;
bgstack15