about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/reducers
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-22 15:58:57 +0200
committerThibG <thib@sitedethib.com>2018-08-29 14:29:36 +0200
commit171e54eb469ac48830eba2349b3298c004ec19f5 (patch)
treeac71fec646a6faecd0297d38f2d586101a9a57ae /app/javascript/flavours/glitch/reducers
parent1b479f08c56f2a4c291ccfffcb8e1217f0ca3686 (diff)
Add opt-in feature to have the spoilers field always on (fixes #634)
Diffstat (limited to 'app/javascript/flavours/glitch/reducers')
-rw-r--r--app/javascript/flavours/glitch/reducers/local_settings.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js
index 51032f345..1d24f0e9a 100644
--- a/app/javascript/flavours/glitch/reducers/local_settings.js
+++ b/app/javascript/flavours/glitch/reducers/local_settings.js
@@ -12,6 +12,7 @@ const initialState = ImmutableMap({
   side_arm  : 'none',
   side_arm_reply_mode : 'keep',
   show_reply_count : false,
+  always_show_spoilers_field: false,
   collapsed : ImmutableMap({
     enabled     : true,
     auto        : ImmutableMap({