diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-08-28 14:10:26 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-08-31 18:35:03 +0200 |
commit | 9d2739d74da26b725f03eb5a19a93c6041714be7 (patch) | |
tree | 35472cc43b654785d54f2f54be652f39cb072e2a /app/javascript/flavours/glitch/reducers | |
parent | 130bdb5ee8c0689a44b353be9bc0ca78b75bdf2e (diff) |
Add a setting to automatically unfold all content warnings
Diffstat (limited to 'app/javascript/flavours/glitch/reducers')
-rw-r--r-- | app/javascript/flavours/glitch/reducers/local_settings.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js index ebe0b1292..ce33cac83 100644 --- a/app/javascript/flavours/glitch/reducers/local_settings.js +++ b/app/javascript/flavours/glitch/reducers/local_settings.js @@ -14,6 +14,9 @@ const initialState = ImmutableMap({ show_reply_count : false, always_show_spoilers_field: false, confirm_missing_media_description: false, + content_warnings : ImmutableMap({ + auto_unfold : false, + }), collapsed : ImmutableMap({ enabled : true, auto : ImmutableMap({ |