summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
authorAlan Mooiman <amooiman@gmail.com>2016-02-25 16:33:27 -0800
committerAlan Mooiman <amooiman@gmail.com>2016-02-25 16:41:03 -0800
commit8e3455943142da74be8b13632c0127f8248618cd (patch)
treea28cfb974e8029d021aee8c0a62ced5c5343d297 /web/react/utils
parentb30b4a429318ec80e2adb41b742298a4899e61d0 (diff)
downloadchat-8e3455943142da74be8b13632c0127f8248618cd.tar.gz
chat-8e3455943142da74be8b13632c0127f8248618cd.tar.bz2
chat-8e3455943142da74be8b13632c0127f8248618cd.zip
Add ability to toggle embed visibility
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/constants.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/utils/constants.jsx b/web/react/utils/constants.jsx
index 766a86686..0a4944708 100644
--- a/web/react/utils/constants.jsx
+++ b/web/react/utils/constants.jsx
@@ -479,6 +479,10 @@ export default {
EMBED_PREVIEW: {
label: 'embed_preview',
description: 'Show preview snippet of links below message'
+ },
+ EMBED_TOGGLE: {
+ label: 'embed_toggle',
+ description: 'Show toggle for all embed previews'
}
},
OVERLAY_TIME_DELAY: 400,