about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/reducers/local_settings.js
diff options
context:
space:
mode:
authorash lea <ashlea@protonmail.com>2019-03-10 15:34:51 -0400
committerThibG <thib@sitedethib.com>2019-03-11 12:14:45 +0100
commitf534f4869ecb52cb48f3e68e42752d8f81d7a710 (patch)
tree75cd6ff555cd1f24340f8a6fca063b1f2c474415 /app/javascript/flavours/glitch/reducers/local_settings.js
parent1bf035fb67065f6f34b96cee3b49cbae8fd16ef5 (diff)
add local setting to auto reveal media behind cw
Diffstat (limited to 'app/javascript/flavours/glitch/reducers/local_settings.js')
-rw-r--r--app/javascript/flavours/glitch/reducers/local_settings.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/reducers/local_settings.js b/app/javascript/flavours/glitch/reducers/local_settings.js
index 93a404328..ef694d4ea 100644
--- a/app/javascript/flavours/glitch/reducers/local_settings.js
+++ b/app/javascript/flavours/glitch/reducers/local_settings.js
@@ -39,8 +39,9 @@ const initialState = ImmutableMap({
     show_action_bar : true,
   }),
   media     : ImmutableMap({
-    letterbox   : true,
-    fullwidth   : true,
+    letterbox        : true,
+    fullwidth        : true,
+    reveal_behind_cw : false,
   }),
   notifications : ImmutableMap({
     favicon_badge : false,